{"slug":"agentshelf-syntexa-ch-v1-eth-erc20-allowance-3955f6","title":"Call when an agent needs ERC-20 allowance(owner, spender) on Ethereum, raw and h","host":"agentshelf.syntexa.ch","method":"POST","resource":"https://agentshelf.syntexa.ch/v1/eth-erc20-allowance","category":"code","description":"Call when an agent needs ERC-20 allowance(owner, spender) on Ethereum, raw and human when decimals() is readable. Send token, owner, and spender. Read-only. No spend. Send JSON {\"token\":\"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\",\"owner\":\"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\",\"spender\":\"0xA0b","price_listed":0.002,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"owner":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","spender":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","token":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"examples":[{"owner":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","spender":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","token":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"}],"properties":{"owner":{"description":"Token holder who granted the allowance. Example: 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045. EIP-55 or all one case.","examples":["0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"],"type":"string"},"spender":{"description":"Account allowed to spend the tokens. Example: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48. EIP-55 or all one case.","examples":["0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"],"type":"string"},"token":{"description":"ERC-20 contract on Ethereum mainnet. Example: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 (Circle USDC). allowance(owner, spender) is read-only.","examples":["0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"],"type":"string"}},"required":["token","owner","spender"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":false,"examples":[{"allowance":"1","allowance_raw":"1000000","billed":true,"decimals":6,"network":"eip155:1","ok":true,"owner":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","receipt_id":"rcpt_01EXAMPLE000000000000000","spender":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","token":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","warnings":[]}],"properties":{"allowance":{"examples":["1"],"type":["string","null"]},"allowance_raw":{"examples":["1000000"],"type":"string"},"billed":{"examples":[true],"type":"boolean"},"decimals":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"examples":[6]},"network":{"const":"eip155:1","examples":["eip155:1"],"type":"string"},"ok":{"const":true,"examples":[true],"type":"boolean"},"owner":{"examples":["0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"],"type":"string"},"receipt_id":{"examples":["rcpt_01EXAMPLE000000000000000"],"type":"string"},"spender":{"examples":["0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"],"type":"string"},"token":{"examples":["0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"],"type":"string"},"warnings":{"default":[],"examples":[[]],"items":{"type":"string"},"type":"array"}},"required":["ok","receipt_id","billed","network","token","owner","spender","decimals","allowance_raw","allowance"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Call when an agent needs ERC-20 allowance(owner, spender) on Ethereum, raw and human when decimals() is readable. Send token, owner, and spender. Read-only. No spend. Send JSON {\"token\":\"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\",\"owner\":\"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\",\"spender\":\"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\"}. Exact $0.002 USDC on Base. Try unpaid POST /v1/sandbox/eth-erc20-allowance first.","last_updated":"2026-10-20T07:39:10.07Z","schemes":["exact"]}