UNPKG

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