estimate_transaction_cost
Estimate the current USD gas cost of a specific Ethereum mainnet action (ETH transfer, ERC-20/USDC transfer, Uniswap swap, or NFT mint), or a custom gas-units amount, at the chosen priority tier.
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": {
"action": "<action>"
},
"name": "estimate_transaction_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | Priority tier: low (cheapest), average, or high (fastest). | average |
| action | Yes | The transaction type. Use "custom" with gas_units for anything else. | |
| gas_units | No | Required when action is "custom": the gas units the transaction uses. |