{"uid":"cap_zh9oQphpM2ZCSUHobtkNI","slug":"btc-tx-9eeb7e61","name":"btc-tx","description":"Decoded Bitcoin transaction by txid: inputs and outputs, fee, size, weight and virtual size, replace-by-fee flag, and confirmation status with a confirmation count. Informational, not advice.","url":"https://payai.agentstools.dev/btc/tx","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","required":["txid"],"properties":{"txid":{"type":"string","description":"Bitcoin transaction id (64 hex characters)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CJ_PFwX0FIUJDagGAu7pH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches and decodes a Bitcoin transaction by its transaction ID, returning inputs, outputs, fee, size metrics, RBF flag, and confirmation status.","exampleAgentPrompt":"Can you look up Bitcoin transaction a1b2c3d4e5f6...0000 for me and tell me how many confirmations it has, what fee was paid, and whether replace-by-fee is set?","exampleUseCases":[{"title":"Verify incoming Bitcoin payment","prompt":"I'm waiting for a payment — the txid is 4ebd3e4a8c7f2b1d9a0e6f3c2d5a8b7e1f4c9d2a3b6e0f5c8d1a4b7e2f9c0d3. Can you check if it's confirmed and how many confirmations it has so far?"},{"title":"Audit Bitcoin transaction fee and size","prompt":"For BTC transaction b3c7d1f4a2e9b6c0d5f2a8e3b1c7d4f0a6e2b9c5d8f1a3e7b0c4d2f8a5e1b6, what was the fee paid and what are the size, weight, and virtual size metrics?"},{"title":"Check replace-by-fee flag on pending tx","prompt":"I sent a Bitcoin transaction and I'm not sure if it's replaceable — txid is f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0. Can you tell me if RBF is enabled and whether it's confirmed yet?"}],"resultDescription":"Returns a decoded Bitcoin transaction object including: list of inputs (with previous txid references and amounts), list of outputs (addresses and amounts), total fee in satoshis, raw byte size, weight units, virtual size (vBytes), replace-by-fee (RBF) boolean flag, confirmation count, and confirmation status (confirmed/unconfirmed).","failureModes":["Invalid or malformed txid (not 64 hex characters) returns a 400-level error","Transaction not found on the network returns a 404 or empty result","Unconfirmed mempool transactions may have 0 confirmations and incomplete fee data","Network or node connectivity issues may cause timeouts","Payment not included or declined returns a 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need decoded, human-readable Bitcoin transaction details — inputs, outputs, fee, size metrics, RBF flag, and confirmation count — from a single txid lookup. Prefer this over raw node queries when you need a structured JSON response without running your own Bitcoin node. It is ideal for agents verifying payments, auditing fees, or monitoring confirmation status.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:00:29.990Z","isFirstParty":false}