{"uid":"cap_8_UHf5H6BJswdeKMkanom","slug":"signalharness-erc-20-approval-decode-20c011c7","name":"SignalHarness ERC-20 Approval Decode","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/erc20_approval_decode/invoke","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"erc20_approval_request":{"type":"string","maxLength":65536,"minLength":2}}},"responseSchema":{"type":"json","example":{"replay":false,"result":{"warnings":["Decoding does not prove allowance state or transaction success."],"service_id":"erc20_approval_decode","evidence_scope":"caller_supplied_data","decoded_erc20_approval":"{\"args\":[\"0x0000000000000000000000000000000000000002\",\"10\"],\"kind\":\"calldata\",\"operation\":\"approve\"}"},"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":"erc20_approval_decode","executionId":"example-execution","startedAtMs":0,"amountAtomic":"10000","resultSha256":"b51e7b29eb16f0962f112101b9b25b95117e68d9288afdb1c961312821d48f20","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_--OG0zV680abeavZ1h5MQ","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":"Decodes and explains an ERC-20 token approval request, identifying the spender, amount, and any associated risk warnings.","exampleAgentPrompt":"Can you decode this ERC-20 approval request for me and tell me who the spender is, how much they'd be allowed to spend, and whether there are any warnings I should know about before signing it?","exampleUseCases":[{"title":"Pre-signing approval safety check","prompt":"Before I sign this token approval, can you decode it and tell me exactly what it's authorizing — who the spender is, the amount, and whether anything looks risky?"},{"title":"DeFi protocol approval audit","prompt":"I just got an approval request from a DeFi protocol. Can you decode this ERC-20 approval data and flag any warnings so I understand what permissions I'd be granting?"},{"title":"Wallet agent approval review","prompt":"My user is about to approve an ERC-20 transaction — here's the raw approval request. Decode it and summarize what's being approved and note any concerns before we proceed."}],"resultDescription":"Returns a decoded ERC-20 approval object containing the interpreted approval details (spender, amount, token context), a list of any warnings about the approval (e.g. unlimited allowance, suspicious spender), the evidence scope indicating the data was caller-supplied, and a replay flag. Also includes a full execution receipt with payment reference, latency, and a SHA-256 hash of the result for integrity verification.","failureModes":["Malformed or unparseable approval request data returns an error status","Input string too short (below minLength 2) or too long (above 65536 chars) triggers schema validation failure","Ambiguous or incomplete calldata may result in partial decoding with warnings","Payment failure (USDC not provided or insufficient) returns HTTP 402 before execution","Network or service downtime returns a non-succeeded status in the receipt"],"whenToPreferThis":"Choose this endpoint when an AI agent or wallet needs to interpret raw ERC-20 approval calldata before presenting it to a user or executing a transaction. It is especially useful for pre-signing safety checks in DeFi workflows, agent-driven wallet approvals, or security auditing pipelines where you need structured, human-readable approval details plus risk warnings — all for a flat $0.01 USDC micro-payment with no subscription required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T19:01:51.155Z","isFirstParty":false}