UNPKG

@polkadot/util-crypto

Version:
3 lines (2 loc) 136 B
import type { Prefix } from './types.js'; export declare function encodeAddress(key: string | Uint8Array, ss58Format?: Prefix): string;