UNPKG

423 BTypeScriptView Raw
1import type { HexString } from '@polkadot/util/types';
2import type { HashType } from './types';
3/**
4 * @name secp256k1Verify
5 * @description Verifies the signature of `message`, using the supplied pair
6 */
7export declare function secp256k1Verify(msgHash: HexString | Uint8Array | string, signature: HexString | Uint8Array | string, address: HexString | Uint8Array | string, hashType?: HashType, onlyJs?: boolean): boolean;