wdk_create_ln_invoice
Create a BOLT11 Lightning invoice to receive Bitcoin payments through the Lightning Network, with customizable amount in millisatoshis, description, and expiration time.
Instructions
Create a BOLT11 Lightning invoice to receive BTC via Lightning Network.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "wdk_create_ln_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expiry_sec | No | Invoice expiry in seconds (default: 3600) | |
| amount_msat | No | Amount in millisatoshis. Omit for a zero-amount invoice. | |
| description | No | Invoice description / memo |