Skip to content

vrfVefiry

vrfVefiry(standard, message, proof, pubkey): VRFReturnValues

Verify VRF proof of a message against the given public key

Parameters

standard: "VrfAlgorand"

VRF standard to use. Currently only VrfAlgorand is supported which is ECVRF-ED25519-SHA512-Elligator2, specified in the IETF internet draft draft-irtf-cfrg-vrf-03.

message: Brand<string, "bytes">

The message to verify

proof: StaticBytes<80>

The VRF proof

pubkey: StaticBytes<32>

The VRF public key

Returns

VRFReturnValues

Source

types/global.d.ts:1420