ldk_estimate_fee
Calculate Lightning Network routing fees for a payment by specifying the amount in satoshis and optionally the target node public key. Helps optimize transaction costs efficiently.
Instructions
Estimate Lightning routing fees for a payment
Input Schema
Name | Required | Description | Default |
---|---|---|---|
amountSats | Yes | Payment amount in satoshis | |
targetNode | No | Target node public key (optional) |
Input Schema (JSON Schema)
{
"properties": {
"amountSats": {
"description": "Payment amount in satoshis",
"minimum": 1,
"type": "number"
},
"targetNode": {
"description": "Target node public key (optional)",
"type": "string"
}
},
"required": [
"amountSats"
],
"type": "object"
}