estimate_gas
Estimate gas cost for a Robinhood Chain call without broadcasting. Input target address and optional calldata.
Instructions
Estimate gas for a call without sending it.
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": {
"to": "<to>"
},
"name": "estimate_gas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target address | |
| data | No | Calldata hex | |
| from | No | ||
| value | No | Wei, decimal or hex |