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

13 lines (12 loc) 482 B
import type { WalletSerialized, WalletType } from './WalletSerialized'; /** * Base class for all wallet types. Use {@link supports} to check capabilities at runtime. */ export declare abstract class Wallet { /** The wallet type identifier (e.g. `'phrase'`, `'xpub'`). */ abstract readonly walletType: WalletType; /** * Serializes the wallet for storage. Restore later with {@link deserializeWallet}. */ abstract serialize(): Promise<WalletSerialized>; }