read_contract
Call a read-only contract method using the contract address, ABI fragments, and method name to retrieve on-chain data.
Instructions
Call a read-only (view/pure) contract method. Provide the contract address, an ABI fragment array, the method name, and arguments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| abi | Yes | ABI fragments in human-readable form, e.g. ['function totalSupply() view returns (uint256)']. | |
| args | No | Positional arguments for the method. | |
| method | Yes | Method name to call. | |
| address | Yes | Contract address. | |
| network | No | Target network. One of: ethereum, base, arbitrum, optimism, polygon, sepolia, base-sepolia, arbitrum-sepolia, optimism-sepolia, polygon-amoy. Defaults to the server's configured default network. |