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]
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 |