read_contract
Call read-only functions on a smart contract to retrieve data from the TRON blockchain. Provide contract address and function name, with optional ABI and arguments.
Instructions
Call read-only functions on a smart contract.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| abi | No | Optional contract ABI array. If not provided, will fetch from chain. Use for contracts with incomplete on-chain ABI. | |
| args | No | Function arguments (supports arrays and objects for complex types) | |
| network | No | Network name. Defaults to mainnet. | |
| functionName | Yes | Function name (e.g., 'name', 'symbol', 'balanceOf') | |
| contractAddress | Yes | The contract address |