UNPKG

308 BTypeScriptView Raw
1import type { HexString } from '@polkadot/util/types';
2/**
3 * @name sr25519Agreement
4 * @description Key agreement between other's public key and self secret key
5 */
6export declare function sr25519Agreement(secretKey: HexString | Uint8Array | string, publicKey: HexString | Uint8Array | string): Uint8Array;