mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-22 09:08:03 +00:00
10 lines
435 B
TypeScript
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;
|