call_contract
Execute read-only smart contract calls to retrieve on-chain data like token balances and prices without gas costs or state changes.
Instructions
Execute a read-only call against a smart contract (eth_call). Returns the raw hex result. Does not cost gas or modify state. Useful for reading on-chain data like token balances, prices, positions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain_id | Yes | Chain ID | |
| to | Yes | Contract address | |
| data | Yes | ABI-encoded calldata (0x-prefixed hex) |