call_contract_view
Execute read-only smart contract functions to retrieve blockchain data without modifying state, supporting Ethereum, Solana, Cosmos, and Layer 2 networks through Grove's public endpoints.
Instructions
Call a read-only contract function
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"blockchain": "<blockchain>",
"contractAddress": "<contractAddress>",
"data": "<data>"
},
"name": "call_contract_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blockchain | Yes | Blockchain name | |
| contractAddress | Yes | Contract address | |
| data | Yes | Encoded function call data | |
| network | No | Network type (defaults to mainnet) |