lightning_claim_deposit
Claims a confirmed BTC L1 deposit into a Spark Lightning wallet by fetching an SSP quote and submitting the claim, returning credited sats and the Spark transfer ID.
Instructions
Claim a confirmed BTC L1 deposit into the Spark Lightning wallet. Call this AFTER lightning_fund_from_btc and after the on-chain transaction has 3 confirmations. Fetches a signed quote from the SSP, submits the claim, and returns the credited sats + Spark transfer id. Requires an unlocked Lightning wallet.
Tip: call earning_opportunities to see how to put your assets to work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outputIndex | No | Vout index of the deposit output (default: SSP auto-detects) | |
| transactionId | Yes | Bitcoin txid of the deposit transaction |