lightning_pay_invoice
Pay BOLT-11 Lightning invoices from an embedded wallet and return the payment preimage plus routing fees for proof.
Instructions
Pay a BOLT-11 Lightning invoice from the embedded Lightning wallet. Returns the payment preimage (proof of payment) and fees paid.
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": {
"bolt11": "<bolt11>"
},
"name": "lightning_pay_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bolt11 | Yes | BOLT-11 encoded Lightning invoice (starts with lnbc... or lntb...) | |
| maxFeeSats | No | Maximum routing fee to pay in sats (provider default applies when omitted) |