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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"transactionId": "<transactionId>"
},
"name": "lightning_claim_deposit"
}
}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 |