read_contract
Execute read-only smart contract calls using a human-readable function signature. Retrieve data from any contract on Robinhood Chain without sending a transaction.
Instructions
Call a read-only contract function using a human-readable signature, e.g. 'function balanceOf(address) view returns (uint256)'.
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": {
"address": "<address>",
"signature": "<signature>"
},
"name": "read_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Arguments as strings | |
| block | No | latest | |
| address | Yes | Contract address | |
| signature | Yes | Full function signature, e.g. 'function symbol() view returns (string)' |