{"uid":"cap_oqsB_9C3Fh2H2t6Uu9iFP","slug":"bitcoin-tx-inclusion-proof-b663fb75","name":"Bitcoin Tx Inclusion Proof","description":"Batch inclusion receipt for one to five transactions in one retained Bitcoin block. locator=blockhash:txid[,txid...]. Returns a Bitcoin Core Merkle inclusion proof, block header and node-observed confirmations. Retained blocks only; unavailable requests are rejected before payment. Verify against a ","url":"https://diamond.btc-intel.workers.dev/api/x402/proof?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["locator"],"properties":{"locator":{"type":"string","maxLength":389,"description":"64-character block hash, colon, and one to five comma-separated unique transaction ids in that block."}},"additionalProperties":false}},"additionalProperties":false}}},"responseSchema":{"type":"json","example":{"block":{"hash":"<blockhash>","height":0,"confirmations":1},"terms":"A Merkle inclusion proof for the specified block, not a statement that outputs are unspent or that a payment is irreversible. Verify against a trusted header chain. Availability is limited to blocks this pruned node retains.","txids":["<txid>"],"product":"batch_inclusion_receipt","proof_hex":"<hex>","header_hex":"<80-byte block header hex>","proof_format":"bitcoin-core-merkleblock"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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_9zM7vE8u0_Twz5I7TUSK5","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":"Returns a Bitcoin Core Merkle inclusion proof, block header, and node-observed confirmations for 1–5 transactions in a single retained Bitcoin block.","exampleAgentPrompt":"Can you get me a Merkle inclusion proof for Bitcoin transactions 3e4e...ab12 and 7f9c...dd34 in block 000000000000000000024bfa...c891 — I need the block header and confirmation count too?","exampleUseCases":[{"title":"Prove payment settled on-chain","prompt":"I need a cryptographic proof that transaction a1b2c3...ff00 is included in Bitcoin block 00000000000000000002abc...def9 — give me the full Merkle inclusion proof and the block header so I can verify it myself."},{"title":"Audit batch of transactions in one block","prompt":"Can you batch-verify that all five of these txids — tx1, tx2, tx3, tx4, tx5 — are included in block 000000000000000000031...4567? I need the Merkle proofs and how many confirmations that block has."},{"title":"Verify transaction finality for settlement system","prompt":"For my settlement system, I need to confirm that txid 9f8e7d...1234 is genuinely in block 0000000000000000000abc...6789, and find out how many confirmations it has right now — please return the full Bitcoin Core merkleblock proof."}],"resultDescription":"A JSON object containing: a hex-encoded Bitcoin Core merkleblock Merkle inclusion proof (proof_hex), the 80-byte block header hex (header_hex), block metadata (hash, height, confirmations), the list of queried txids, the product label ('batch_inclusion_receipt'), and a terms disclaimer clarifying proof scope and node retention limits.","failureModes":["Block not retained by the pruned node — request rejected before payment","Invalid or malformed locator string (missing colon, wrong hash length, >5 txids)","Transaction ID not found in the specified block — rejected before payment","Network or Cloudflare Worker timeout","Payment not completed or x402 flow interrupted"],"whenToPreferThis":"Use this endpoint when you need a cryptographically verifiable, standard Bitcoin Core merkleblock proof of transaction inclusion — especially for batch verification of up to 5 txids in one call. It is ideal when you need both the Merkle proof and the raw block header together for independent verification against a trusted header chain. Prefer this over block explorer APIs when you need a machine-verifiable proof artifact rather than human-readable confirmation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T12:35:14.107Z","isFirstParty":false,"canonicalSlug":"bitcoin-tx-inclusion-proof-b663fb75"}