chainread_read_contract
Call any view/pure function with a human-readable signature on Ethereum, Base, Arbitrum, Optimism, Polygon or BSC: decoded result, raw hex, block number, chain id; 422 with revert reason on revert. Price: $0.002 USDC per call, paid with x402 on Base.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Arguments in order; integers may be strings | |
| chain | No | ethereum (default), base, arbitrum, optimism, polygon, bsc or chain id | |
| address | Yes | Deployed contract address (0x...) | |
| blockTag | No | latest (default), safe, finalized, earliest, pending or a block number (alias: block) | |
| function | Yes | Human-readable signature, e.g. "balanceOf(address) view returns (uint256)"; the "function " prefix is optional; include returns (...) to decode |