Skip to main content
Generates a new single-use deposit address for receiving Bitcoin funds. Returns a Bitcoin taproot (P2TR) address (not a Spark address).
Single-use addresses are consumed after the first deposit. Subsequent deposits to the same address are not supported and may be unrecoverable. Prefer getStaticDepositAddress() for reusable deposits.

Method Signature

async getSingleUseDepositAddress(): Promise<string>

Returns

address
string
required
A Bitcoin taproot (P2TR) address for depositing funds (bc1p... on mainnet, bcrt1p... on regtest/local, tb1p... on testnet/signet)

Example

const depositAddress = await wallet.getSingleUseDepositAddress();
console.log("Deposit Address:", depositAddress);