UNPKG

401 BTypeScriptView Raw
1import type { HexString } from '@polkadot/util/types';
2import type { Keypair } from '../types';
3/**
4 * @name sr25519VrfSign
5 * @description Sign with sr25519 vrf signing (deterministic)
6 */
7export declare function sr25519VrfSign(message: HexString | Uint8Array | string, { secretKey }: Partial<Keypair>, context?: HexString | string | Uint8Array, extra?: HexString | string | Uint8Array): Uint8Array;