{"uid":"cap_2i2Zfnvr_JK8MvITGfNFQ","slug":"polygon-event-log-decoder-d107a25b","name":"Polygon Event Log Decoder","description":"Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.","url":"https://signalharness.ai/api/agent/services/polygon_event_log_decode/invoke","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"request_json":{"type":"string","maxLength":65536,"minLength":2}}},"responseSchema":{"type":"json","example":{"replay":false,"result":{"warnings":["Supplied ABI and log are not authenticated."],"service_id":"polygon_event_log_decode","analysis_json":"{\"address\":\"0x0000000000000000000000000000000000000001\",\"args\":{\"from\":\"0x0000000000000000000000000000000000000001\",\"to\":\"0x0000000000000000000000000000000000000002\",\"value\":\"100\"},\"block_number\":1,\"event_name\":\"Transfer\",\"log_index\":0,\"network_context\":{\"accepted_chain_ids\":[\"137\",\"80002\"],\"bridge_model\":\"root-child state sync plus checkpoint evidence\",\"completion_policy\":\"never inferred without supplied evidence\",\"protocol_family\":\"Polygon PoS\"},\"removed\":false,\"transaction_hash\":\"0x1111111111111111111111111111111111111111111111111111111111111111\"}","evidence_scope":"caller_supplied_data","analyzed_network":"polygon"},"status":"succeeded","receipt":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","usage":[],"status":"succeeded","network":"eip155:8453","artifacts":[],"endedAtMs":0,"latencyMs":0,"paymentId":"example-payment","receiptId":"example-receipt","requestId":"example-request","serviceId":"polygon_event_log_decode","executionId":"example-execution","startedAtMs":0,"amountAtomic":"10000","resultSha256":"8f7df9ad12c0febc0ea1a6d217e8ccff00eb8953c0dc76dcaa0ecfdcdc558e65","serviceVersion":"1.0.0","settlementReference":"0x0000000000000000000000000000000000000000000000000000000000000000"},"artifacts":[],"requestId":"example-request","executionId":"example-execution"}},"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_7FvwTYHabKNE7S7KnFd_9","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":"Decodes and analyzes Polygon PoS blockchain event logs by parsing raw log data against a supplied ABI to extract structured event arguments and metadata.","exampleAgentPrompt":"Decode this Polygon PoS event log for me — here's the raw log data and the ABI for the ERC-20 contract: I need to know the event name, the from and to addresses, and the value transferred.","exampleUseCases":[{"title":"Decode ERC-20 Transfer event","prompt":"I have a raw event log from a Polygon transaction and the ERC-20 ABI — can you decode it and tell me which addresses were involved in the Transfer and how many tokens moved?"},{"title":"Analyze DeFi swap event on Polygon","prompt":"Can you parse this Uniswap V3 Swap event log from Polygon mainnet using the pool contract's ABI? I need the token amounts in and out and which addresses were swapping."},{"title":"Debug smart contract event on Amoy testnet","prompt":"I'm testing on Polygon Amoy testnet and got this event log from my contract — here's the ABI. Can you decode it and tell me what event was emitted and what the arguments are?"}],"resultDescription":"Returns a structured JSON analysis containing the decoded event name, all decoded event arguments (e.g. from, to, value), block number, log index, transaction hash, whether the log was removed, and a network context object describing the Polygon PoS chain details (accepted chain IDs, bridge model, completion policy). Also includes warnings if the supplied ABI and log are not independently authenticated.","failureModes":["ABI does not match the log topic — decoding fails or returns empty arguments","Malformed or truncated raw log data causes parse error","Unsupported chain ID outside Polygon PoS scope (137 or 80002)","request_json is invalid JSON or exceeds 65536 character limit","Event signature in log does not match any entry in the supplied ABI"],"whenToPreferThis":"Use this endpoint when you need to decode Polygon PoS event logs (mainnet chain ID 137 or Amoy testnet 80002) and have access to the ABI. It is purpose-built for Polygon's PoS bridge model and completion policy semantics, making it preferable to generic EVM log decoders when Polygon-specific network context matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T07:02:44.254Z","isFirstParty":false}