Skip to main content
Gets a quote for a static deposit claim and automatically claims it if the fee is within the specified maximum.

Method Signature

Parameters

string
required
The Bitcoin transaction ID of the deposit
number
required
Maximum fee in satoshis you’re willing to pay
number
The output index (auto-detected if not provided)

Returns

ClaimStaticDepositOutput | null
required
The claim result, or null if the fee exceeds maxFee

Example