{"uid":"cap_htg_CaseyYI17wzGSMX4-","slug":"chainquery-bitcoin-getmininginfo-rpc-50562474","name":"chainquery Bitcoin getmininginfo RPC","description":"chainquery Bitcoin RPC: pay-per-call Bitcoin Core over x402, no API key. Mining-related info from chainquery's independent full node: difficulty, network hashrate, mempool, and chain. Bitcoin Core getmininginfo.","url":"https://x402.chainquery.com/v1/rpc/getmininginfo","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"params":{"type":"string","description":"optional: JSON-encoded array of positional RPC params"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"result":{"description":"getmininginfo result"}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"params":"[]"}}},"response":{"result":{"chain":"main","blocks":954197,"pooledtx":6085,"warnings":[],"difficulty":124932866006548.2,"networkhashps":863264396973721600000}}},"exampleRequest":{"params":"[]"},"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rUb72G6KEBwT8j0Hu0SqS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns Bitcoin mining info (difficulty, network hashrate, mempool size, chain) from an independent Bitcoin Core full node via pay-per-call x402 micropayment","exampleAgentPrompt":"What is the current Bitcoin mining difficulty and network hashrate right now — pull it straight from a full Bitcoin Core node?","exampleUseCases":null,"resultDescription":"A JSON object with the getmininginfo result containing fields like blocks (current block height), currentblockweight, currentblocktx, difficulty (current mining difficulty), networkhashps (estimated network hashes per second), pooledtx (mempool transaction count), chain (mainnet/testnet), and warnings.","failureModes":["Payment failure: insufficient USDC balance triggers 402 response before data is returned","Node sync lag: chainquery's independent node may be slightly behind chain tip","Invalid params: malformed JSON array in query params returns RPC error","Network timeout: full node RPC call takes too long under heavy mempool load"],"whenToPreferThis":"Use this endpoint when you need real-time Bitcoin mining statistics (difficulty, hashrate, mempool) from an independent full node without needing an API key — ideal for agents that want trustless, pay-as-you-go access via x402 micropayments rather than subscription-based Bitcoin data APIs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:56:36.428Z","isFirstParty":false}