Skip to content

ed25519verify

@algorandfoundation/algorand-typescript


@algorandfoundation/algorand-typescript / op / ed25519verify

Function: ed25519verify()

ed25519verify(a, b, c): boolean

Defined in: packages/algo-ts/src/op.ts:859

for (data A, signature B, pubkey C) verify the signature of (“ProgData” || program_hash || data) against the pubkey => {0 or 1} The 32 byte public key is the last element on the stack, preceded by the 64 byte signature at the second-to-last element on the stack, preceded by the data which was signed at the third-to-last element on the stack.

Parameters

a

bytes

b

bytes

c

bytes

Returns

boolean

See

Native TEAL opcode: ed25519verify Min AVM version: 1