gas_cost_estimate
Approximate cost of a transaction at a given gas price and gas amount, in ETH and USD at the live ETH price. Lite figures are rounded — exact conversions are a paid lookup.
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": {
"gwei": "<gwei>",
"gas_units": "<gas_units>"
},
"name": "gas_cost_estimate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gwei | Yes | ||
| gas_units | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |