{"slug":"agentshelf-syntexa-ch-v1-eth-call-d577d2","title":"Call when an agent needs a read-only Ethereum eth_call","host":"agentshelf.syntexa.ch","method":"POST","resource":"https://agentshelf.syntexa.ch/v1/eth-call","category":"code","description":"Call when an agent needs a read-only Ethereum eth_call. Send to and data (hex) or a function signature plus args. Optional from and block. Reverts return a decoded reason. No state change and no spend. Send JSON {\"to\":\"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\",\"data\":\"0x18160ddd\"}. Exact $0.003 US","price_listed":0.003,"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":{"data":"0x18160ddd","to":"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":[{"data":"0x18160ddd","to":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"}],"properties":{"args":{"description":"JSON array of arguments. Example: [\"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\"]. A POST array is accepted. Requires signature.","maxLength":2048,"minLength":2,"type":"string"},"block":{"description":"Block tag. Example: latest. Also finalized, safe, or a block number. Default latest.","type":"string"},"data":{"description":"Calldata, 0x hex, at most 2048 characters. Example: 0x18160ddd (totalSupply()). Send data or signature, not both. eth_call cannot change state.","examples":["0x18160ddd"],"pattern":"^0x[0-9a-fA-F]*$","type":"string"},"from":{"description":"Optional eth_call from address. Example: 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045. It is not a transaction sender and nothing is spent.","type":"string"},"signature":{"description":"Function signature. Example: decimals() or balanceOf(address)(uint256). args is a JSON array when the function has parameters. Send signature or data, not both.","maxLength":180,"minLength":3,"type":"string"},"to":{"description":"Contract to call on Ethereum mainnet. Example: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48. The call is eth_call with no value, so it cannot change state.","examples":["0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"],"type":"string"}},"required":["to"],"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":[{"billed":true,"block":"latest","data":"0x18160ddd","decoded":null,"from":null,"network":"eip155:1","ok":true,"receipt_id":"rcpt_01EXAMPLE000000000000000","result":"0x00000000000000000000000000000000000000000000000000000000000f4240","revert_data":null,"revert_reason":null,"success":true,"to":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","warnings":[]}],"properties":{"billed":{"examples":[true],"type":"boolean"},"block":{"examples":["latest"],"type":"string"},"data":{"examples":["0x18160ddd"],"type":"string"},"decoded":{"examples":[null],"type":["string","null"]},"from":{"examples":[null],"type":["string","null"]},"network":{"const":"eip155:1","examples":["eip155:1"],"type":"string"},"ok":{"const":true,"examples":[true],"type":"boolean"},"receipt_id":{"examples":["rcpt_01EXAMPLE000000000000000"],"type":"string"},"result":{"examples":["0x00000000000000000000000000000000000000000000000000000000000f4240"],"type":"string"},"revert_data":{"examples":[null],"type":["string","null"]},"revert_reason":{"examples":[null],"type":["string","null"]},"success":{"examples":[true],"type":"boolean"},"to":{"examples":["0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"],"type":"string"},"warnings":{"default":[],"examples":[[]],"items":{"type":"string"},"type":"array"}},"required":["ok","receipt_id","billed","network","to","from","block","data","success","result","decoded","revert_reason","revert_data"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Call when an agent needs a read-only Ethereum eth_call. Send to and data (hex) or a function signature plus args. Optional from and block. Reverts return a decoded reason. No state change and no spend. Send JSON {\"to\":\"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\",\"data\":\"0x18160ddd\"}. Exact $0.003 USDC on Base. Try unpaid POST /v1/sandbox/eth-call first.","last_updated":"2026-10-20T07:39:16.01Z","schemes":["exact"]}