Read a smart contract
read-contractCall any read-only smart contract method using human-readable ABI signatures or auto-fetched verified ABIs. Specify chain, address, method, and optional arguments.
Instructions
Call a read-only (view/pure) contract method. Provide abi as human-readable signatures (e.g. ["function balanceOf(address) view returns (uint256)"]) for zero-config use, or set ETHERSCAN_API_KEY to auto-fetch verified ABIs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| abi | No | Optional ABI: a signature string, array of signatures, or JSON ABI. | |
| args | No | Arguments for the method, in order. | |
| method | Yes | Method name to call, e.g. "balanceOf". | |
| address | Yes | Contract address. | |
| chainId | Yes | Chain id, e.g. "1". |