UNPKG

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