Get gas price info
network.gas_infoGet the current gas price and EIP-1559 fee hints for an EVM chain. Free, read-only, no wallet needed.
Use this to estimate transaction cost or explain fees to a user before they send a transaction. chain is required. Supported chains: ethereum, sepolia, polygon, amoy, bsc, bsc-testnet, base, base-sepolia, tempo, tempo-testnet, arbitrum-one, monad, skale-base-sepolia.
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": {
"chain": "<chain>"
},
"name": "network.gas_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | EVM network slug. One of: ethereum, sepolia, polygon, amoy, bsc, bsc-testnet, base, base-sepolia, tempo, tempo-testnet, arbitrum-one, monad, skale-base-sepolia |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | ||
| error | No | ||
| message | No | ||
| gasPrice | No | Current gas price in wei. | |
| timestamp | No | Unix ms timestamp of the reading. | |
| gasPriceGwei | No | Current gas price in gwei. | |
| maxFeePerGas | No | ||
| supportsEip1559 | No | ||
| maxPriorityFeePerGas | No |