get_gas_price
Get current gas prices for Ethereum, Arbitrum, Base, Polygon, or Optimism. Returns safe, standard, and fast gas prices in Gwei with USD cost estimate for ERC-20 transfers.
Instructions
Get current gas prices across urgency levels for a given chain. FREE.
Returns safe/standard/fast gas prices in Gwei with USD cost estimate for a standard ERC-20 transfer (21,000 gas).
Use this when: an agent needs current gas cost before executing a transaction. Follow with get_optimal_gas_window to decide whether to wait.
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 |
|---|---|---|---|
| chain | No | Blockchain to check. Options: 'ethereum', 'arbitrum', 'base', 'polygon', 'optimism' | ethereum |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||