{"uid":"cap_Rxc7Ji63paJQP__kKYPIt","slug":"polygon-token-balance-delta-analyzer-f6776daf","name":"Polygon Token Balance Delta 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_token_balance_delta/invoke","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"request_json":{"type":"string","maxLength":65536,"minLength":2}}},"responseSchema":{"type":"json","example":{"replay":false,"result":{"warnings":["Snapshots may be stale or incomplete."],"service_id":"polygon_token_balance_delta","analysis_json":"{\"changes\":[{\"after\":\"2\",\"before\":\"1\",\"delta\":\"1\",\"key\":\"0x0000000000000000000000000000000000000001|0x0000000000000000000000000000000000000002\"}],\"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\"}}","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_token_balance_delta","executionId":"example-execution","startedAtMs":0,"amountAtomic":"10000","resultSha256":"c3a7b02250bd438b26d1a52fb785f53279bd55221fdb9e4f7edd0f6b28436eb5","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_zwvDbwmbNzCrrHKH_6jQn","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":"Analyzes caller-supplied evidence to compute token balance changes (deltas) between snapshots on the Polygon PoS network","exampleAgentPrompt":"Using the Polygon token balance delta service, analyze these two balance snapshots for wallet 0x000...001 and tell me how much the token balance changed — here's the before/after evidence JSON.","exampleUseCases":[{"title":"Audit wallet token flow on Polygon","prompt":"I have before-and-after token balance snapshots for a wallet on Polygon mainnet — can you compute the exact delta to see how many tokens moved in or out?"},{"title":"Verify DeFi trade settlement","prompt":"We executed a swap on Polygon and I want to confirm the token balance actually changed as expected — here are the pre- and post-trade balance records, can you diff them?"},{"title":"Detect unauthorized token transfers","prompt":"I need to check whether this Polygon wallet had any unexpected token balance changes between these two checkpoints — can you analyze the supplied evidence and flag any deltas?"}],"resultDescription":"Returns a JSON analysis containing an array of balance changes per wallet-token pair, each with before/after balances and the computed delta, plus network context including accepted chain IDs (137 for mainnet, 80002 for Amoy testnet), the bridge model, completion policy, and protocol family. Also includes evidence scope, analyzed network identifier, and a status field indicating success.","failureModes":["Stale or incomplete snapshots — warnings returned when evidence may not reflect current chain state","Invalid or malformed request_json — request rejected with error","Unsupported chain ID in supplied evidence — analysis may be incomplete","Missing before or after snapshot data — delta cannot be computed"],"whenToPreferThis":"Use this endpoint when you need to compute token balance deltas on Polygon PoS from caller-supplied snapshot evidence, especially when you cannot or do not want to query the chain directly. Ideal for audit trails, trade settlement verification, or compliance checks where the evidence is already in hand. Prefer over direct RPC calls when working in an agent pipeline that needs deterministic, pay-per-call micro-priced analysis without managing Polygon node access.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:16:17.083Z","isFirstParty":false}