oc · docs
docs / documentation

@orangecheck/vote-core


@orangecheck/vote-core / SignatureVerifier

Type Alias: SignatureVerifier

type SignatureVerifier = (args: {
  address: string;
  message: string;
  signature: string;
}) => Promise<boolean> | boolean;

Defined in: vote-core/src/verify.ts:11

Named-argument BIP-322 verifier, the same shape as TallyOptions.verify.

Parameters

ParameterType
args&#123; address: string; message: string; signature: string; &#125;
args.addressstring
args.messagestring
args.signaturestring

Returns

Promise&lt;boolean> | boolean