estimate_gas
Estimate the gas required for a transaction before sending it. Provide transaction details to get an accurate gas estimate, helping avoid failed transactions.
Instructions
Estimate gas for a transaction 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": {
"transaction": "<transaction>"
},
"name": "estimate_gas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transaction | Yes |