ReadonlyarkReadonlyboardingReadonlycontractOptional ReadonlydelegatorReadonlydustReadonlyidentityReadonly identity associated with the wallet.
ReadonlyindexerReadonlynetworkReadonlyoffchainReadonlyonchainReadonlywalletReadonlywalletReadonly asset manager bound to this wallet instance.
Get the pkScript hex for the wallet's primary offchain address. For the full wallet-owned script set registered in ContractManager, use getWalletScripts().
Async-dispose hook that forwards to dispose().
Clear the global VTXO sync cursor, forcing a full re-bootstrap on next sync. Useful for recovery after indexer reprocessing or debugging.
Dispose wallet-owned managers and release background resources.
Fetch Arkade transaction ids that are still pending final settlement.
Returns the wallet's Arkade address.
Return the wallet's combined onchain and offchain balances.
Returns the onchain boarding address used to move funds into Arkade.
Build a transaction history view for the wallet's boarding address.
Fetch and cache onchain inputs (UTXOs) received at the boarding address.
Get the ContractManager for managing contracts including the wallet's default address.
The ContractManager handles:
const manager = await wallet.getContractManager();
// Create a contract for a Boltz swap
const contract = await manager.createContract({
label: "Boltz Swap",
type: "vhtlc",
params: { ... },
script: swapScript,
address: swapAddress,
});
// Start watching for events (includes wallet's default address)
const stop = await manager.onContractEvent((event) => {
console.log(`${event.type} on ${event.contractScript}`);
});
Build a map of scriptHex → VtxoScript for all wallet contracts, so virtual outputs can be extended with the correct tapscript per contract.
Return wallet transaction history derived from Arkade state and boarding transactions.
Return virtual outputs tracked by the wallet.
Optionalfilter: GetVtxosFilterOptional flags controlling whether recoverable or unrolled VTXOs are included
Get all pkScript hex strings for the wallet's own addresses (both delegate and non-delegate, current and historical).
Subscribe to onchain and offchain notifications for newly received funds.
Callback invoked when matching funds are detected
A function that stops the subscriptions
StaticcreateCreate a readonly wallet for querying balances, addresses, and history.
Readonly wallet configuration
A readonly wallet instance
Readonly wallet interface for Bitcoin transactions with Arkade protocol support.
This interface defines the contract that all wallet implementations must follow. It provides methods for address management, balance checking, virtual output operations, and transaction management including sending, settling, and unrolling.
See
IWallet