Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Claim a static deposit only if fee is within your limit.
async claimStaticDepositWithMaxFee({ transactionId, maxFee, outputIndex, }: { transactionId: string; maxFee: number; outputIndex?: number; }): Promise<ClaimStaticDepositOutput | null>
const result = await wallet.claimStaticDepositWithMaxFee({ transactionId: "abc123...", maxFee: 500 // Will only claim if fee <= 500 sats }); if (result) { console.log("Deposit claimed:", result); } else { console.log("Fee too high, deposit not claimed"); }