{"uid":"cap_EZnPt9m2Ej5rVHR3KRjwR","slug":"pocket-network-event-log-decoding-623bf689","name":"Pocket Network Event Log Decoding","description":"Pay-per-call access to Pocket Network services. No account, no API key.","url":"https://agent.pocket.network/v1/event-log-decoding?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"tx_hash":{"type":"string","description":"0x-prefixed transaction hash."},"chain_id":{"type":"integer","description":"EVM chain id (1 for Ethereum mainnet)."}}},"responseSchema":{"type":"json","example":{"data":{},"portal":{"serviceId":"event-log-decoding","provenance":"third-party-supplier","schemaCheck":"passed"}}},"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_xihgrASHvof8Zk2Lozgnv","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":"Decodes EVM smart contract event logs for a given transaction hash and chain ID into human-readable form.","exampleAgentPrompt":"Can you decode the event logs for Ethereum mainnet transaction 0x4a2b7c8e9f1d3e5a6b8c0d2e4f6a8b0c2d4e6f8a0b2c4d6e8f0a2b4c6d8e0f2a — what events were emitted?","exampleUseCases":[{"title":"Debug DeFi swap transaction","prompt":"I just made a Uniswap swap and want to know exactly what events fired — can you decode the logs for Ethereum mainnet transaction 0x3f8a1c2d4e5b6a7f8e9d0c1b2a3f4e5d6c7b8a9f0e1d2c3b4a5f6e7d8c9b0a1f?"},{"title":"Audit token transfer events","prompt":"Can you pull and decode all the events emitted by this Ethereum transaction 0xa1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2 so I can verify the token transfers that happened?"},{"title":"Monitor contract interaction outcome","prompt":"We deployed a new smart contract on Ethereum mainnet and a user just interacted with it via tx 0xdeadbeef1234567890abcdef1234567890abcdef1234567890abcdef12345678 — decode the event logs so I can confirm it executed correctly."}],"resultDescription":"Returns a JSON object with decoded event log data from the specified transaction, along with portal metadata including service ID, data provenance, and schema check status. The decoded events translate raw EVM log topics and data into structured, human-readable fields corresponding to the emitted Solidity events.","failureModes":["Invalid or malformed transaction hash returns an error","Transaction hash not found on the specified chain returns empty or error response","Unsupported chain ID returns an error or unrecognized chain response","Transaction exists but has no event logs returns empty data object","Network or upstream Pocket Network node unavailability causes timeout or 5xx error"],"whenToPreferThis":"Choose this endpoint when you need to decode EVM event logs from a specific transaction without managing API keys or account registration. It is ideal for pay-per-call, ad-hoc blockchain data needs where you want decoded event semantics rather than raw hex log data. Prefer this over setting up a full Ethereum node or subscribing to an indexer service when you only need occasional transaction-level event decoding on demand.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T18:48:20.828Z","isFirstParty":false,"canonicalSlug":"pocket-network-event-log-decoding-623bf689"}