read-contract
Read data from verified smart contracts on Rootstock blockchain by calling view/pure functions. Specify contract address and network to retrieve on-chain state.
Instructions
Read data from a verified smart contract on the Rootstock blockchain by calling view/pure functions
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| testnet | Yes | Use testnet (true) or mainnet (false) | |
| functionArgs | No | Array of arguments for the function call (required if the function has parameters) | |
| functionName | No | Name of the view/pure function to call - if not provided, available functions will be listed | |
| contractAddress | Yes | Contract address to read from (0x... format) - must be a verified contract |