{"uid":"cap_kIjB4RM3LLIhv6eRucOBv","slug":"lion-keyless-transaction-receipt-decoder-x402-a51ea773","name":"LION Keyless Transaction Receipt Decoder (x402)","description":"Keyless off-chain and on-chain data for AI agents. No API key, no signup - payment is the only gate. Pay-per-call in USDC on Base via x402.","url":"https://lion-x402.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":{"tx":"0x...","network":"eip155:8453","receipt":{"to":"0x...","from":"0x...","value":"0x0","status":"0x1","gasUsed":"0x...","blockNumber":"0x..."},"asset_id":"LION_TX_RECEIPT_DECODED_001","confidence":0.9,"decoded_calldata":{"sig":"transfer(address,uint256)","params":["0x...","1000000000000000000"]}}},"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_U6Zly4FqJQFo7HCF6pQXv","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 blockchain transaction receipt on Base, returning human-readable calldata including function signature and parameters, paid per-call in USDC via x402.","exampleAgentPrompt":"Can you fetch and decode the transaction receipt for 0xabc123...def on Base — I want to see what function was called and what the parameters were, without needing an API key?","exampleUseCases":[{"title":"Verify on-chain contract interaction","prompt":"Hey, can you look up transaction 0x4f8a2c...b91e on Base and tell me exactly what function was called and what parameters were passed in? I want to confirm a user actually executed the right contract method."},{"title":"Audit a suspicious DeFi transaction","prompt":"I just saw this Base transaction — 0xd3e7f1...a02b — flagged in our monitoring dashboard. Can you decode the calldata and tell me what it actually did on-chain, including the function name and all the input values?"},{"title":"Debug a failed smart contract call","prompt":"Our smart contract call failed on Base with tx hash 0x9c12bd...7f43 — can you pull the transaction receipt and decode the calldata so I can see what function was invoked and whether the parameters look correct?"}],"resultDescription":"A JSON object containing the raw transaction receipt (to, from, value, status, gasUsed, blockNumber) plus decoded calldata showing the function signature and its parameter values, along with a confidence score and asset identifier.","failureModes":["Invalid or non-existent transaction hash returns error or empty receipt","Payment not completed via x402 returns 402 Payment Required","Unsupported JSON-RPC method returns error","Transaction calldata cannot be decoded (e.g. no matching ABI) returns low confidence or raw hex","Network congestion causes delayed response","Batch size exceeds 10 requests returns rejection"],"whenToPreferThis":"Choose this endpoint when you need to decode Base (EVM) transaction receipts into human-readable function calls without managing API keys or subscriptions — especially useful for AI agents that pay per-call via x402 USDC micropayments and need to understand what a specific transaction actually did on-chain.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:31:02.136Z","isFirstParty":false}