Skip to content

ed25519Verify

ed25519Verify(data, signature, pubkey): boolean

Verify the signature of (“ProgData” || program_hash || data) against the pubkey. The program_hash is the hash of the program source code

Parameters

data: BytesLike

Data be verified

signature: BytesLike

The signature to verify

pubkey: BytesLike

The public key to verify the signature with

Returns

boolean

true if the signature is valid, false otherwise

Source

types/global.d.ts:1041