UNPKG

407 BTypeScriptView Raw
1import type { BN } from '@polkadot/util';
2import type { Prefix } from './types.js';
3/**
4 * @name encodeMultiAddress
5 * @summary Creates a multisig address.
6 * @description
7 * Creates a Substrate multisig address based on the input address and the required threshold.
8 */
9export declare function encodeMultiAddress(who: (string | Uint8Array)[], threshold: bigint | BN | number, ss58Format?: Prefix): string;