Skip to main content
Gets an instant static deposit quote for a SparkWallet. The response contains pricing information and fulfillment plans for claiming a static deposit, including plans that may be available at 0 confirmations.
0-conf static deposits are currently gated. Contact the team to enable support for your integration.

Method Signature

Parameters

transactionId
string
required
The Bitcoin transaction ID of the static deposit transaction.
outputIndex
number
The output index that pays the Spark static deposit address. If omitted, the SDK attempts to auto-detect it.
partnerId
string
Optional partner identifier for enabled integrations.

Returns

quote
StaticDepositQuote
required
Quote object containing id, network, transactionId, outputIndex, depositAmount, creditAmount, and quoteSignature.
fulfillmentPlans
InstantStaticDepositPlan[]
required
Available claim plans. Use confirmations === 0 to identify a 0-conf plan.

Example

Types