chaingate
Version:
Multi-chain cryptocurrency SDK for TypeScript — unified API for Bitcoin, Ethereum, Litecoin, Dogecoin, Bitcoin Cash, Polygon, Arbitrum, and any EVM-compatible chain. Create wallets, query balances, send transactions, and manage tokens and NFTs across UTXO
21 lines (20 loc) • 604 B
TypeScript
/** @internal */
export interface DerivedPublicKeyData {
publicKey: Uint8Array;
xpub: string;
}
/**
* A public key derived from an HD wallet. Returned by {@link HDWallet.derivePublicKey}
* and {@link XpubWallet.derive}.
*/
export declare class DerivedPublicKey {
private readonly _publicData;
/** @internal */
constructor(data: DerivedPublicKeyData);
/** The compressed public key as raw bytes. */
get publicKey(): Uint8Array;
/** The compressed public key as hex. */
get publicKeyHex(): string;
/** The extended public key (xpub). */
get xpub(): string;
}