UNPKG

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) 556 B
import { Secret, EncryptedState } from '../../../Secret'; /** * An extended private key (xpriv). Supports encryption. * * @example * ```ts * const xpriv = new Xpriv('xprv9s21ZrQH143K...'); * console.log(xpriv.key); * ``` */ export declare class Xpriv extends Secret { /** @param source - The xpriv string or {@link EncryptedState}. */ constructor(source: string | EncryptedState); /** The raw bytes. */ get raw(): Uint8Array; /** The xpriv as hex. */ get hex(): string; /** The xpriv string. */ get key(): string; }