fee_quote
Get an exact fee quote for a Bitcoin transaction by specifying inputs, outputs, target blocks, and input type.
Instructions
Exact fee quote for a planned tx: {inputs, outputs, target_blocks, input_type}. [15 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": {
"inputs": "<inputs>",
"outputs": "<outputs>",
"target_blocks": "<target_blocks>"
},
"name": "fee_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | ||
| outputs | Yes | ||
| target_blocks | Yes | ||
| input_type | No | p2pkh | p2wpkh | p2tr | p2wpkh |
| preimage | No | (L402 mode) Preimage from paid Lightning invoice — only needed if no API key is set | |
| macaroon | No | (L402 mode) Macaroon from the previous 402 challenge |