{"uid":"cap_WlxFpq6jeMegFmG24cs9g","slug":"polygon-nonce-replacement-analyzer-c874bf7c","name":"Polygon Nonce Replacement Analyzer","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_nonce_replacement_analyze/invoke","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"request_json":{"type":"string","maxLength":65536,"minLength":2}}},"responseSchema":{"type":"json","example":{"replay":false,"result":{"warnings":["Canonical replacement status is not inferred."],"service_id":"polygon_nonce_replacement_analyze","analysis_json":"{\"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_gaps\":[],\"replacement_groups\":[],\"transactions\":[{\"from\":\"0x0000000000000000000000000000000000000001\",\"hash\":\"0x1111111111111111111111111111111111111111111111111111111111111111\",\"index\":0,\"max_fee_per_gas\":\"120\",\"nonce\":\"1\"}]}","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_nonce_replacement_analyze","executionId":"example-execution","startedAtMs":0,"amountAtomic":"15000","resultSha256":"457aaa5e3cbbcf2ca40ed3ba06837462537b0ff07ee18087a8f7a548f18e33eb","serviceVersion":"1.0.0","settlementReference":"0x0000000000000000000000000000000000000000000000000000000000000000"},"artifacts":[],"requestId":"example-request","executionId":"example-execution"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","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.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_r5pJEpL_6j6PPZnZSPrzk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes Polygon PoS transaction sets to detect nonce gaps, replacement groups, and ordering anomalies from caller-supplied transaction data.","exampleAgentPrompt":"Analyze these Polygon transactions for nonce gaps or replacement groups — here's the raw transaction data as JSON: [{\"from\":\"0xABC...\",\"hash\":\"0x111...\",\"nonce\":\"5\",\"max_fee_per_gas\":\"120\"},{\"from\":\"0xABC...\",\"hash\":\"0x222...\",\"nonce\":\"5\",\"max_fee_per_gas\":\"150\"}]. Tell me if any are replacements of each other.","exampleUseCases":[{"title":"Stuck transaction replacement audit","prompt":"I submitted two transactions from the same wallet with the same nonce on Polygon — here's both transaction objects as JSON. Can you tell me if one replaced the other and what the replacement status looks like?"},{"title":"Nonce gap detection for wallet replay","prompt":"I have a list of 20 Polygon PoS transactions from my address and I want to know if there are any nonce gaps or missing sequence numbers. Here's the transaction data in JSON format — run it through the nonce gap analyzer."},{"title":"MEV or speedup transaction classification","prompt":"I sped up a Polygon transaction by resubmitting with higher gas and the same nonce. Can you analyze these two transaction records and confirm which one constitutes the replacement and whether there are any sequencing warnings?"}],"resultDescription":"Returns a structured analysis JSON containing identified nonce gaps (missing nonces in sequence), replacement groups (transactions sharing a nonce from the same sender), per-transaction metadata with index and gas fields, network context (accepted chain IDs, bridge model, protocol family), evidence scope label, analyzed network name, and any warnings such as inability to infer canonical replacement status without additional evidence.","failureModes":["Malformed or non-JSON request_json input returns a parse error","Transactions from unsupported chain IDs (not 137 or 80002) may not be analyzed correctly","Replacement status is never inferred without externally supplied evidence — warnings will be returned","Empty transaction arrays return an analysis with no gaps or replacement groups detected","Overly large inputs exceeding 65536 characters will be rejected"],"whenToPreferThis":"Use this endpoint when you have raw Polygon PoS transaction data (mainnet chain ID 137 or testnet 80002) and need to programmatically detect nonce gaps, identify replacement/speedup transaction pairs, or audit sequencing issues — all from caller-supplied data without requiring live RPC access. Prefer this over manual nonce inspection when processing batches of transactions or building agent workflows that need to classify stuck, dropped, or replaced Polygon transactions.","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}