{"uid":"cap_1PQAMPjB8mi6zzLVhWSxJ","slug":"polygon-token-flow-reconstructor-07ad37d4","name":"Polygon Token Flow Reconstructor","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_flow_reconstruct/invoke","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"request_json":{"type":"string","maxLength":65536,"minLength":2}}},"responseSchema":{"type":"json","example":{"replay":false,"result":{"warnings":["Covers supplied transfers only."],"service_id":"polygon_token_flow_reconstruct","analysis_json":"{\"ledger\":[{\"account\":\"0x0000000000000000000000000000000000000001\",\"asset\":\"0x0000000000000000000000000000000000000001\",\"chain\":\"137\",\"in\":\"0\",\"net\":\"-100\",\"out\":\"100\"},{\"account\":\"0x0000000000000000000000000000000000000002\",\"asset\":\"0x0000000000000000000000000000000000000001\",\"chain\":\"137\",\"in\":\"100\",\"net\":\"100\",\"out\":\"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\"},\"transfer_count\":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_token_flow_reconstruct","executionId":"example-execution","startedAtMs":0,"amountAtomic":"20000","resultSha256":"f900be641e9f14478bd7cf9636f09ca4268dd7645e7e8f55f2fb58c5a7112307","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_u8VbhkwHyqKE5_4_PIRDN","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":"Reconstructs and analyzes token transfer flows on Polygon PoS networks from caller-supplied transfer data, producing a ledger of per-account net positions","exampleAgentPrompt":"Can you reconstruct the token flow ledger from these Polygon PoS transfers I have — I need to see the net inflow, outflow, and net position for each wallet address involved, given this list of transfer records on chain 137.","exampleUseCases":[{"title":"DeFi trade settlement audit","prompt":"I have a list of ERC-20 token transfers from a Polygon mainnet DeFi trade — can you reconstruct the full token flow ledger so I can see which accounts are net buyers and sellers and by how much?"},{"title":"Wallet accounting reconciliation","prompt":"Given these raw transfer records on Polygon PoS chain 137, can you compute the net in, out, and balance change for each wallet address so I can reconcile my accounting books?"},{"title":"Bridge transfer flow verification","prompt":"I have a set of Polygon bridge transfers I need to verify — can you reconstruct the token flow and tell me if the inflows and outflows balance correctly across all the accounts involved?"}],"resultDescription":"Returns a structured JSON ledger with per-account entries showing inflow, outflow, and net token amounts for each (account, asset, chain) tuple, plus a network context block describing the Polygon PoS protocol family, accepted chain IDs, and completion policy. Also returns transfer count, evidence scope (caller_supplied_data), and warnings about coverage limitations.","failureModes":["Malformed or missing request_json causes validation error","Transfer data referencing unsupported chain IDs (not 137 or 80002) may produce warnings or errors","Incomplete transfer data yields partial ledger with coverage warnings","Extremely large transfer sets may exceed the 65536-character request_json limit","Payment failure or insufficient USDC balance blocks execution"],"whenToPreferThis":"Choose this endpoint when you have raw Polygon PoS transfer records and need a structured per-account net-position ledger without running your own on-chain indexer. It is ideal for accounting reconciliation, DeFi trade audits, or bridge flow verification where you control the input data. Prefer it over generic blockchain explorers when you need deterministic computation on caller-supplied data rather than live chain queries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:48:06.785Z","isFirstParty":false}