UNPKG

@polkadot/util-crypto

Version:
3 lines (2 loc) 139 B
import type { Keypair } from '../../types.js'; export declare function sr25519KeypairToU8a({ publicKey, secretKey }: Keypair): Uint8Array;