Skip to main content
Returns a reusable Bitcoin address for the SparkWallet that can be used to receive deposits multiple times. Currently only one static deposit address is supported per wallet.

Method Signature

async getStaticDepositAddress(): Promise<string>

Returns

address
string
required
A reusable Bitcoin address for depositing funds

Example

const staticAddress = await wallet.getStaticDepositAddress();
console.log("Static deposit address:", staticAddress);