{"uid":"cap_-YiFS8VKaxRwknExuBlOs","slug":"signalharness-polygon-erc20-allowance-exposure-analyzer-6f0d3499","name":"SignalHarness Polygon ERC20 Allowance Exposure 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_erc20_allowance_exposure/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 query or revoke allowances."],"service_id":"polygon_erc20_allowance_exposure","analysis_json":"{\"approvals\":[{\"after\":\"100\",\"before\":\"0\",\"delta\":\"100\",\"owner\":\"0x0000000000000000000000000000000000000001\",\"spender\":\"0x0000000000000000000000000000000000000002\",\"token\":\"0x0000000000000000000000000000000000000001\",\"unlimited\":false}],\"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\"},\"spender_exposure\":[{\"spender\":\"0x0000000000000000000000000000000000000002\",\"total_after\":\"100\",\"unlimited\":false}]}","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_erc20_allowance_exposure","executionId":"example-execution","startedAtMs":0,"amountAtomic":"15000","resultSha256":"ff633d2cd835b920b9b7eee2cf8c0beab8d24c21f7e85efbe500366840bffde0","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_IbMJpXw7vMJIXx-HsjDBk","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 caller-supplied transaction evidence to identify and summarize ERC20 token approval/allowance exposures on the Polygon PoS network","exampleAgentPrompt":"Analyze this Polygon transaction evidence for ERC20 allowance exposures — I need to know which spenders were approved, the before/after allowance amounts, and whether any unlimited approvals were granted: {paste transaction JSON here}.","exampleUseCases":[{"title":"DeFi wallet allowance audit","prompt":"I have some raw Polygon transaction data and I want to know what ERC20 allowances were granted — can you tell me which spenders got approved, by how much, and flag any unlimited approvals?"},{"title":"Security review of on-chain approval events","prompt":"Can you parse this Polygon PoS transaction evidence and give me a breakdown of all token approval events, including the delta between before and after allowance amounts and a per-spender exposure summary?"},{"title":"Agent-driven token risk assessment","prompt":"Before I proceed with this DeFi interaction on Polygon, analyze the supplied transaction logs and tell me if any ERC20 allowances look risky — especially any unlimited approvals to unknown spender addresses."}],"resultDescription":"Returns a structured JSON analysis including: a list of ERC20 approval events with owner, spender, token address, before/after allowance amounts, delta, and unlimited flag; a per-spender exposure summary aggregating total allowances; and network context including accepted chain IDs (Polygon mainnet 137 and testnet 80002), bridge model, and completion policy. Also includes the analyzed network ('polygon') and a note that the service does not query or revoke allowances — it only analyzes caller-supplied evidence.","failureModes":["Malformed or missing request_json causes parse failure","Evidence JSON that does not contain recognizable ERC20 approval events returns empty approvals array","Unsupported chain IDs (non-Polygon) may be rejected or produce incomplete results","Overly large input JSON (>65536 characters) is rejected","Service explicitly does not query live blockchain state — missing evidence yields no results"],"whenToPreferThis":"Choose this endpoint when you need to analyze ERC20 allowance exposures on Polygon PoS from caller-supplied transaction evidence — such as logs, receipts, or decoded events — rather than querying live blockchain state. It is ideal for post-hoc auditing of approval events, security reviews of DeFi interactions, or agent workflows that already have transaction data and need structured allowance summaries without making additional RPC calls.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:16:01.020Z","isFirstParty":false}