{"uid":"cap_6dFEjWBWJnI-qktNZSx3f","slug":"lion-x402-transaction-receipt-decoder-04be436f","name":"LION x402 Transaction Receipt Decoder","description":"Keyless attested data for autonomous agents. USDC on Base via x402. Official @x402/* middleware.","url":"https://lion-x402-bible.lionmaster-operations.workers.dev/api/x402/tx-receipt-decoded-json","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"],"type":"string"},"queryParams":{"type":"object","required":["tx"],"properties":{"tx":{"type":"string","description":"Base tx hash 0x..."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"asset_id":"LION","resolved":true}},"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_zmOpN1PqZmBhrXMTkt5Jz","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 Base blockchain transaction receipt into structured JSON, paid via x402 USDC micropayment.","exampleAgentPrompt":"Can you decode the Base transaction receipt for tx hash 0x4a3b...c12d and give me the structured JSON — I need to verify it resolved and see the asset ID?","exampleUseCases":[{"title":"Verify USDC payment on Base","prompt":"I just sent a USDC payment on Base — can you decode the transaction receipt for 0xabc123...def456 and confirm it resolved successfully?"},{"title":"Audit on-chain asset transfer","prompt":"Pull the decoded JSON receipt for Base transaction 0x9f8e...7d6c so I can see what asset was transferred and whether it went through."},{"title":"Agent payment confirmation check","prompt":"After my autonomous agent made a payment, I need you to decode the transaction receipt at hash 0x1234...5678 on Base and return the full structured data so I can log it."}],"resultDescription":"A decoded JSON object representing the Base transaction receipt, including fields like asset_id (e.g. 'LION') and resolved (boolean indicating successful resolution), along with other on-chain receipt data parsed into human-readable structured form.","failureModes":["Invalid or malformed tx hash returns an error or unresolved response","Transaction hash not found on Base chain results in a failed lookup","Payment not completed via x402 before request causes 402 Payment Required","Network or RPC issues on Base chain may cause timeouts or incomplete data","Non-Base chain tx hashes will not resolve correctly"],"whenToPreferThis":"Use this endpoint when you need to decode and verify a specific Base blockchain transaction by its hash and receive structured JSON output. It is ideal for autonomous agents that need to confirm on-chain payments (especially USDC via x402), audit asset transfers, or log transaction outcomes without requiring wallet keys or blockchain node infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:32:10.852Z","isFirstParty":false}