vrfVerify
@algorandfoundation/algorand-typescript
@algorandfoundation/algorand-typescript / op / vrfVerify
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
s
a
b
c
Returns
readonly [bytes
, boolean
]
See
Native TEAL opcode: vrf_verify
Min AVM version: 7