UNPKG

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