get_fee_estimates
Retrieve Bitcoin network fee rate estimates for different block confirmation targets to optimize transaction costs.
Instructions
Get fee rate estimates for 1/3/6/25/144 block confirmation targets in sat/vB.
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:424-428 (handler)The get_fee_estimates tool handler, which calls _get_fee_estimates.
@mcp.tool() def get_fee_estimates() -> str: """Get fee rate estimates for 1/3/6/25/144 block confirmation targets in sat/vB.""" estimates = _get_fee_estimates(get_rpc()) return json.dumps([e.model_dump() for e in estimates])