compare_fee_estimates
Compare Bitcoin transaction fee estimates side-by-side with urgency labels and cost calculations for standard 140 vB transactions to optimize fee selection.
Instructions
Compare fee estimates side-by-side with urgency labels and cost for a typical 140 vB transaction.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- src/bitcoin_mcp/server.py:1461-1476 (handler)The tool compare_fee_estimates compares fee estimates across different confirmation targets.
def _query_indexed_api(path: str) -> dict: """Query the Satoshi API indexed endpoints. Returns parsed JSON on success, or an error dict on failure. """ api_url = os.getenv("SATOSHI_API_URL", _DEFAULT_API_URL).rstrip("/") url = f"{api_url}/api/v1/indexed/{path}" req = urllib.request.Request(url, headers={"User-Agent": "bitcoin-mcp"}) api_key = os.getenv("SATOSHI_API_KEY") if api_key: req.add_header("X-API-Key", api_key) try: with urllib.request.urlopen(req, timeout=30) as resp: return json.loads(resp.read(10_000_000)) except urllib.error.HTTPError as e: