Files
pezkuwi-common/packages/util-crypto/address/encodeDerived.d.ts
T

10 lines
435 B
TypeScript

import type { BN } from '@pezkuwi/util';
import type { Prefix } from './types.js';
/**
* @name encodeDerivedAddress
* @summary Creates a derived address as used in Substrate utility.
* @description
* Creates a Substrate derived address based on the input address/publicKey and the index supplied.
*/
export declare function encodeDerivedAddress(who: string | Uint8Array, index: bigint | BN | number, ss58Format?: Prefix): string;