live · mainnetoc · docs
specs · api · guides
docs / documentation

@orangecheck/pledge-core


@orangecheck/pledge-core / VerifyBip322

Type Alias: VerifyBip322

type VerifyBip322 = (msg: string, signatureB64: string, address: string) => Promise<boolean>;

Defined in: pledge-core/src/types.ts:270

Caller-supplied BIP-322 verifier. Returns true iff the signature verifies under the named address over the UTF-8 bytes of msg.

Parameters

ParameterType
msgstring
signatureB64string
addressstring

Returns

Promise&lt;boolean>