Gas prices across chains
gas_priceFetches current gas prices in gwei across Ethereum, Base, Arbitrum, Optimism, Polygon, BNB Chain and Avalanche with the latest block number, so you can pick the cheapest chain or time a transaction.
Instructions
Current gas price on Ethereum, Base, Arbitrum, Optimism, Polygon, BNB Chain and Avalanche, in gwei, with the latest block number. Use it to pick the cheapest chain or time a transaction. Costs $0.001 per call.
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": "gas_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chains | No | Chains. Default: all (ethereum, base, arbitrum, optimism, polygon, bsc, avalanche). |