UNPKG

352 BTypeScriptView Raw
1import type { Keypair } from '../types.js';
2import type { HashType } from './types.js';
3/**
4 * @name secp256k1Sign
5 * @description Returns message signature of `message`, using the supplied pair
6 */
7export declare function secp256k1Sign(message: Uint8Array | string, { secretKey }: Partial<Keypair>, hashType?: HashType, onlyJs?: boolean): Uint8Array;