{"name":"tx-receipt-decode","description":"Decodes an EVM transaction receipt and every event log from a tx hash. Fetches the receipt + transaction via Etherscan v2 and decodes each log: ERC-20 / ERC-721 Transfer + Approval + ApprovalForAll are decoded canonically (from/to/value/tokenId etc.); other logs use the contract's verified ABI when available; remaining unknown topics are looked up against 4byte.directory's event-signature index. Returns status (success/failed), block number, gas used + gas price (gwei), from/to/value, and a structured array of decoded logs with named params and contract names where verified. Use it as a log decoder, event log reader, receipt parser, Etherscan tx debug, Basescan tx explainer, or tenderly-style trace lite.","price":"$0.02","method":"POST","input_schema":{"properties":{"tx_hash":{"type":"string","description":"0x-prefixed 32-byte transaction hash (66 chars total)."},"chain":{"type":"string","enum":["base","ethereum","polygon","arbitrum","optimism"],"description":"EVM chain. Default 'base'."}},"required":["tx_hash"]},"input_example":{"tx_hash":"0xa3e8e2f5b7c1d4f6e9a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4","chain":"base"},"output_example":{"tx_hash":"0xa3e8e2f5b7c1d4f6e9a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4","chain":"base","status":"success","block_number":21345678,"gas_used":134567,"gas_price_gwei":0.052431,"from":"0xabc...","to":"0x4200000000000000000000000000000000000006","value_wei":"100000000000000000","decoded_logs":[{"address":"0x4200000000000000000000000000000000000006","event_name":"Deposit","params":{"dst":"0xabc...","wad":"100000000000000000"},"contract_name":"WETH"},{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","event_name":"Transfer","params":{"from":"0xabc...","to":"0xdef...","value":"5000000"},"contract_name":"USDC"}],"unknown_logs_count":0,"source":"https://etherscan.io"},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}