{"uid":"cap_0APEj1K49zcr6whh35ab_","slug":"polygon-state-sync-record-matcher-d95a5fd7","name":"Polygon State Sync Record Matcher","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_state_sync_record_match/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 canonical inclusion or finality."],"service_id":"polygon_state_sync_record_match","analysis_json":"{\"matches\":[{\"fields\":[{\"field\":\"receiver\",\"left\":\"0x0000000000000000000000000000000000000002\",\"match\":true,\"right\":\"0x0000000000000000000000000000000000000002\"},{\"field\":\"data\",\"left\":\"0x01\",\"match\":true,\"right\":\"0x01\"}],\"l1_index\":0,\"l2_index\":0,\"match\":true,\"state_id\":\"1\"}],\"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\"},\"unmatched_l2\":[]}","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_state_sync_record_match","executionId":"example-execution","startedAtMs":0,"amountAtomic":"20000","resultSha256":"9b6a1830d2819bc719e7369388d5ef04f37cc6bcf98ba937b582d27fa42f6279","serviceVersion":"1.0.0","settlementReference":"0x0000000000000000000000000000000000000000000000000000000000000000"},"artifacts":[],"requestId":"example-request","executionId":"example-execution"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SN77NXZZNaPwPr6FUICoH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Matches and analyzes Polygon PoS state sync records between L1 and L2 layers using caller-supplied evidence data.","exampleAgentPrompt":"I need to verify that this Polygon PoS state sync record matches between L1 and L2 — here's my JSON with the L1 index 0 and L2 index 0, both showing receiver 0x0000000000000000000000000000000000000002 and data payload 0x01 on Polygon mainnet (chain ID 137). Can you run the match analysis?","exampleUseCases":[{"title":"Bridge relay integrity audit","prompt":"I need to audit whether this batch of Polygon state sync records from Ethereum L1 actually got relayed correctly to Polygon L2 — here's the evidence JSON with the receiver addresses and data payloads for state IDs 1 through 5 on chain 137. Please run the match analysis and tell me if anything is unmatched."},{"title":"Cross-chain debugging for stuck transaction","prompt":"My Polygon bridge transaction seems stuck — can you compare my L1 state sync record against the L2 record I have here? The receiver is 0xAbCd...1234, the data is 0xdeadbeef, and it should be on Polygon mainnet. I want to know if the fields actually match or where they diverge."},{"title":"Testnet state sync validation","prompt":"I'm testing a cross-chain integration on Polygon Amoy testnet (chain ID 80002) and want to confirm my state sync records are consistent between L1 and L2 before going to mainnet. Here's the evidence JSON with two record pairs — can you tell me if they match and flag any warnings?"}],"resultDescription":"Returns a structured analysis JSON containing matched record pairs with per-field match results (receiver, data), a list of unmatched L2 records, and network context (accepted chain IDs, bridge model, completion policy, protocol family). Also includes a service ID, status, evidence scope label, and a warning that the result does not prove canonical inclusion or finality.","failureModes":["Malformed or invalid request_json causes parsing failure","Caller-supplied evidence is incomplete or missing required fields, resulting in no matches","Chain ID not in accepted list (137 or 80002) may cause rejection","Large payloads exceeding 65536 characters are rejected","Result carries warning that canonical inclusion or finality is not proven"],"whenToPreferThis":"Use this endpoint when you need to programmatically compare Polygon PoS L1 state sync records against L2 records using your own supplied evidence, and want structured field-level match analysis. Prefer this over on-chain RPC queries when you already have the state sync data in hand and need a cheap, fast match result without setting up blockchain infrastructure. Note it does not prove finality — use it for evidence comparison, not as a definitive bridge proof.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T07:03:15.874Z","isFirstParty":false}