{"uid":"cap_TICnWgw_-FcADb4dKTuhH","slug":"chainquery-bitcoin-getblock-rpc-c8380ab8","name":"chainquery Bitcoin getblock RPC","description":"chainquery Bitcoin RPC: pay-per-call Bitcoin Core over x402, no API key. A full Bitcoin block by hash from chainquery's independent full node: header, transaction ids, and fully decoded transactions at higher verbosity. Bitcoin Core getblock.","url":"https://x402.chainquery.com/v1/rpc/getblock","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":"getblock result"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_w8Mh_afAWGulj_ZXWmrWr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a full Bitcoin block by hash from chainquery's independent Bitcoin Core full node, returning header, transaction IDs, and optionally fully decoded transactions.","exampleAgentPrompt":"Can you pull the full Bitcoin block for hash 000000000000000000024bead8df69990852c202db0e0097c1a12ea637d7e96d from chainquery's Bitcoin node, including all decoded transactions?","exampleUseCases":[{"title":"Verify transaction inclusion in blocks","prompt":"I need you to fetch the Bitcoin block containing transaction abc123def and show me all the other transactions in that same block so I can verify the inclusion and check for related activity."},{"title":"Monitor large transfers on-chain","prompt":"Pull the full block data for hash 00000000000000000002a7a29457eae7f2fb6cbf2b6c1848508b4d8c3f5e9a1c and decode all the transactions so I can identify which outputs were sent where and track fund movements."},{"title":"Audit Bitcoin block contents","prompt":"Can you get the complete decoded block for hash 0000000000000000000f14c0fcf5c22e3e8c7f9a2e4d5c6b7a8f9e0d1c2b3a4 and give me details on all transactions, their inputs, outputs, and values so we can audit what happened in that block?"}],"resultDescription":"A Bitcoin block object as returned by Bitcoin Core's getblock RPC: block header fields (hash, confirmations, height, version, merkleroot, time, nonce, bits, difficulty, chainwork, nTx), a list of transaction IDs, and at higher verbosity levels fully decoded transaction objects with inputs, outputs, scripts, and values.","failureModes":["Invalid or unknown block hash returns an error result from Bitcoin Core","Missing or malformed params JSON causes a parse error","Block not yet confirmed or on a stale fork may return null","Payment not processed (x402 flow failure) results in 402 response before data is returned","Network or node sync issues may cause timeout or unavailable response"],"whenToPreferThis":"Use this endpoint when you need full Bitcoin block data — header fields plus transactions — from an independent full node without setting up API keys. Ideal for pay-per-call usage patterns where you only occasionally need block data, or for agents that need trustless Bitcoin Core RPC access billed per call via x402/USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:53:34.157Z","isFirstParty":false}