aegis/lib/dgb/core/address.d.ts

11 lines
559 B
TypeScript
Raw Normal View History

import type { BIP32Interface } from 'bip32';
import { type Network } from './network.js';
export declare function p2pkhAddress(node: BIP32Interface, network?: Network): string;
export declare function p2shP2wpkhAddress(node: BIP32Interface, network?: Network): string;
export declare function p2shP2wpkhAddressesBoth(node: BIP32Interface): {
modern: string;
legacy: string;
};
export declare function p2wpkhAddress(node: BIP32Interface, network?: Network): string;
export declare function p2trAddress(node: BIP32Interface, network?: Network): string;