UNPKG

340 BTypeScriptView Raw
1import type { HexString } from '@polkadot/util/types';
2import type { Keypair } from '../types';
3/**
4 * @name sr25519Sign
5 * @description Returns message signature of `message`, using the supplied pair
6 */
7export declare function sr25519Sign(message: HexString | Uint8Array | string, { publicKey, secretKey }: Partial<Keypair>): Uint8Array;