UNPKG

434 BTypeScriptView Raw
1import type { HexString } from '@polkadot/util/types';
2import type { Prefix } from './types.js';
3/**
4 * @name deriveAddress
5 * @summary Creates a sr25519 derived address from the supplied and path.
6 * @description
7 * Creates a sr25519 derived address based on the input address/publicKey and the uri supplied.
8 */
9export declare function deriveAddress(who: HexString | Uint8Array | string, suri: string, ss58Format?: Prefix): string;