vrfVerify
@algorandfoundation/algorand-typescript
@algorandfoundation/algorand-typescript / op / vrfVerify
Function: vrfVerify()
Section titled “Function: vrfVerify()”vrfVerify(
s,a,b,c): readonly [bytes,boolean]
Defined in: packages/algo-ts/src/op.ts:4025
Verify the proof B of message A against pubkey C. Returns vrf output and verification flag.
VrfAlgorand is the VRF used in Algorand. It is ECVRF-ED25519-SHA512-Elligator2, specified in the IETF internet draft draft-irtf-cfrg-vrf-03.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”readonly [bytes, boolean]
Native TEAL opcode: vrf_verify
Min AVM version: 7