get_gas_price
Retrieve current gas price and EIP-1559 fee data for any supported EVM network to calculate transaction costs.
Instructions
Get current fee data (gas price, EIP-1559 fields) for a network.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_gas_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | Target network. One of: ethereum, base, arbitrum, optimism, polygon, sepolia, base-sepolia, arbitrum-sepolia, optimism-sepolia, polygon-amoy. Defaults to the server's configured default network. |