Skip to main content
Glama

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
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • 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:

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Bortlesboat/bitcoin-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server