lightning_address_resolve
Resolve a Lightning Address (user@domain.com) to a payable BOLT11 invoice for a given amount. Handles the full LNURL-pay protocol internally. Returns the invoice plus min/max sendable amounts for validation. Price: 10 sats per call.
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": {
"address": "<address>",
"amount_sats": "<amount_sats>"
},
"name": "lightning_address_resolve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Lightning Address in user@domain.com format. | |
| l402_proof | No | L402 payment proof "<macaroon>:<preimage>". Omit on the first call; an unpaid call returns a 10 sat Lightning invoice and the macaroon. Pay the invoice, then repeat the call with this argument set. | |
| amount_sats | Yes | Amount you want to send, in satoshis. At most 100000000 (1 BTC). |