@midnight-ntwrk/onchain-runtime v0.2.2 • Readme | API
@midnight-ntwrk/onchain-runtime v0.2.2 / verifySignature
Function: verifySignature()
verifySignature(
vk,
data,
signature): boolean
Verifies if a signature is correct
Parameters
• vk: string
• data: Uint8Array
• signature: string
Returns
boolean