{"uid":"cap_cr4nyL80HGnCr9LLsGfuD","slug":"base-transaction-receipt-with-decoded-erc-20-events-26df3d2e","name":"Base Transaction Receipt with Decoded ERC-20 Events","description":"Call when an agent needs a Base transaction receipt with decoded ERC-20 Transfer and Approval events, raw and human amounts when decimals are readable. A missing hash errors. Read-only. No spend. Send JSON {\"hash\":\"0xabababababababababababababababababababababababababababababababab\"}. Exact $0.005 USDC on Base. Try unpaid POST /v1/sandbox/base-tx-logs first.","url":"https://agentshelf.syntexa.ch/v1/base-tx-logs?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"hash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$","examples":["0xabababababababababababababababababababababababababababababababab"],"description":"Base mainnet transaction hash. Example: 0xabababababababababababababababababababababababababababababababab. Returns the receipt plus decoded ERC-20 Transfer and Approval events."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__EhZmwa07XiRQgO0A87kB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a Base mainnet transaction receipt and decodes any ERC-20 Transfer and Approval events, returning both raw and human-readable token amounts.","exampleAgentPrompt":"Can you pull the transaction receipt for Base mainnet tx hash 0xabababababababababababababababababababababababababababababababab and show me all the decoded ERC-20 Transfer and Approval events with human-readable token amounts?","exampleUseCases":[{"title":"Audit token transfer in a Base tx","prompt":"I just sent some USDC on Base — the tx hash is 0x1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b. Can you fetch the receipt and show me the decoded ERC-20 Transfer events with the actual human-readable amounts?"},{"title":"Verify ERC-20 approval on Base","prompt":"I need to confirm an ERC-20 Approval event went through on Base. The transaction hash is 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef. Can you decode the logs and tell me what the approval spender and amount were?"},{"title":"Debug failed DeFi transaction logs","prompt":"Something went wrong with a DeFi swap on Base — hash is 0xcafebabecafebabecafebabecafebabecafebabecafebabecafebabecafebabe. Can you get me the full transaction receipt and decode all the ERC-20 Transfer events so I can see what actually moved?"}],"resultDescription":"Returns the Base mainnet transaction receipt along with decoded ERC-20 Transfer and Approval events found in the logs. Each decoded event includes the raw token amount as a big integer and, when the token contract exposes decimals, a human-readable formatted amount. Missing or invalid hashes result in an error response.","failureModes":["Missing hash field returns an error","Invalid or malformed hash (not matching ^0x[0-9a-fA-F]{64}$) returns a validation error","Transaction hash not found on Base mainnet returns an error","Token contract does not expose decimals — human-readable amount may be absent","Network or RPC timeout causes a transient failure","Unpaid request to /v1/base-tx-logs (non-sandbox) returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a complete Base mainnet transaction receipt with automatically decoded ERC-20 Transfer and Approval events and human-readable amounts — without writing your own ABI-decoding logic. It is read-only, has no side effects, and is cheaper than a full node RPC call with manual log parsing. For testing without payment, use the sandbox endpoint /v1/sandbox/base-tx-logs first. Prefer this over generic RPC endpoints when ERC-20 event decoding and human-readable token amounts are the primary need.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T00:32:38.153Z","isFirstParty":false,"canonicalSlug":"base-transaction-receipt-with-decoded-erc-20-events-26df3d2e"}