Skip to main content
Claims an instant static deposit using a quote from getInstantStaticDepositQuote and one of its fulfillment plans.
This method supports both 0-conf plans and plans that require one or more confirmations. The SDK signs the correct claim statement based on the selected plan.

Method Signature

Parameters

StaticDepositQuote
required
The quote object returned by getInstantStaticDepositQuote.
InstantStaticDepositPlan
required
The fulfillment plan to claim. Select a plan with confirmations === 0 for the 0-conf path.
string
required
The Bitcoin transaction ID of the deposit transaction.
number
required
The output index that pays the Spark static deposit address.

Returns

string
required
The identifier for the instant static deposit claim.

Example