{"uid":"cap_6D7f3gnwTKd-bhIKq4H1o","slug":"polygon-transaction-decode-922e523a","name":"Polygon Transaction Decode","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_transaction_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":["Does not prove broadcast, inclusion, or finality."],"service_id":"polygon_transaction_decode","analysis_json":"{\"calldata_bytes\":68,\"chain_id\":\"137\",\"data\":\"0xa9059cbb00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000064\",\"gas_limit\":\"21000\",\"max_fee_per_gas\":\"120\",\"max_priority_fee_per_gas\":\"5\",\"network\":\"polygon_pos_mainnet\",\"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\"},\"nonce\":\"1\",\"to\":\"0x0000000000000000000000000000000000000002\",\"type\":\"0x2\",\"value\":\"0\"}","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_transaction_decode","executionId":"example-execution","startedAtMs":0,"amountAtomic":"10000","resultSha256":"7db0eef668af2e9ea5b1292f5a630e3eecc4560c0529c747b5d699657bfa9c96","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_WgE2t8l-WhzxGgZYgNpgm","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 raw Polygon PoS transaction data, extracting calldata, gas parameters, and network context from caller-supplied transaction JSON.","exampleAgentPrompt":"Decode this Polygon PoS transaction for me and tell me what the calldata means, who it's sending to, what the gas settings are, and what the nonce is: {\"type\":\"0x2\",\"to\":\"0xAbCd...\",\"data\":\"0xa9059cbb...\",\"gas_limit\":\"21000\",\"max_fee_per_gas\":\"120\",\"nonce\":\"1\",\"chain_id\":\"137\"}","exampleUseCases":[{"title":"Debugging a failed ERC-20 transfer","prompt":"I have a raw Polygon transaction that failed and I want to know exactly what it was trying to do — can you decode the calldata and show me the recipient address, the value being transferred, the gas limit, and the nonce? Here's the transaction JSON: {\"type\":\"0x2\",\"to\":\"0xTokenContract...\",\"data\":\"0xa9059cbb000...0064\",\"gas_limit\":\"50000\",\"max_fee_per_gas\":\"100\",\"nonce\":\"5\",\"chain_id\":\"137\"}"},{"title":"Auditing smart contract calldata","prompt":"Can you analyze this Polygon transaction and decode the calldata so I can verify what function is being called and with what parameters? I want to see the full breakdown including gas settings and chain ID. Transaction: {\"type\":\"0x2\",\"to\":\"0xContractAddress...\",\"data\":\"0x38ed1739...\",\"gas_limit\":\"200000\",\"max_fee_per_gas\":\"80\",\"nonce\":\"12\",\"chain_id\":\"137\"}"},{"title":"Verifying transaction parameters before broadcast","prompt":"Before I broadcast this transaction on Polygon mainnet, decode it and tell me if the nonce, gas limit, max fee, and to-address all look right — here's the raw transaction data: {\"type\":\"0x2\",\"to\":\"0xRecipient...\",\"data\":\"0x\",\"gas_limit\":\"21000\",\"max_fee_per_gas\":\"150\",\"max_priority_fee_per_gas\":\"5\",\"nonce\":\"3\",\"chain_id\":\"137\"}"}],"resultDescription":"Returns a JSON analysis of the Polygon transaction including calldata size, decoded fields (to address, value, gas limit, max fee per gas, max priority fee per gas, nonce, transaction type, chain ID), network context (accepted chain IDs, bridge model, completion policy, protocol family), the analyzed network name, evidence scope, and any warnings (e.g. that the service does not prove broadcast or finality). Also returns a receipt with service metadata.","failureModes":["Invalid or malformed transaction JSON causes parse failure","Missing required fields in the transaction object result in incomplete analysis","Unsupported transaction type or chain ID may produce warnings or partial results","request_json string exceeding 65536 characters will be rejected","Non-Polygon chain IDs in the transaction may not be decoded correctly"],"whenToPreferThis":"Choose this endpoint when you need to decode and inspect Polygon PoS transactions specifically, including EIP-1559 type-2 transactions with calldata. It is purpose-built for Polygon (chain ID 137 / 80002) and returns rich network context specific to Polygon PoS. Prefer it over generic EVM decoders when you need Polygon-specific network metadata such as bridge model and checkpoint evidence context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:13:57.916Z","isFirstParty":false}