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.
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) |