call_contract_view
Query read-only smart contract functions to retrieve blockchain data without executing transactions, supporting multiple networks through Grove's Pocket Network integration.
Instructions
Call a read-only contract function
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) |
Input Schema (JSON Schema)
{
"properties": {
"blockchain": {
"description": "Blockchain name",
"type": "string"
},
"contractAddress": {
"description": "Contract address",
"type": "string"
},
"data": {
"description": "Encoded function call data",
"type": "string"
},
"network": {
"description": "Network type (defaults to mainnet)",
"enum": [
"mainnet",
"testnet"
],
"type": "string"
}
},
"required": [
"blockchain",
"contractAddress",
"data"
],
"type": "object"
}