UNPKG

@polkadot/util-crypto

Version:
10 lines (9 loc) 407 B
import type { BN } from '@polkadot/util'; import type { Prefix } from './types.js'; /** * @name encodeMultiAddress * @summary Creates a multisig address. * @description * Creates a Substrate multisig address based on the input address and the required threshold. */ export declare function encodeMultiAddress(who: (string | Uint8Array)[], threshold: bigint | BN | number, ss58Format?: Prefix): string;