contract_call
Execute read-only calls to Hedera smart contract functions to query data without submitting transactions or paying gas fees. Returns contract function results using 0.5 HBAR per call.
Instructions
Execute a read-only call to a Hedera smart contract function and return the result. Does not submit a transaction or cost gas. Costs 0.5 HBAR.
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": {
"api_key": "<api_key>",
"contract_id": "<contract_id>",
"function_name": "<function_name>"
},
"name": "contract_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | Your HederaIntel API key | |
| contract_id | Yes | Hedera contract ID (e.g. 0.0.123456) or EVM address (0x...) | |
| function_name | Yes | Contract function name to call (e.g. balanceOf, totalSupply, name) | |
| function_params | No | Optional array of parameter values to pass to the function | |
| abi_hint | No | Optional ABI hint - common values: ERC20, ERC721, HTS |