getGasPrice
Check current Ethereum gas prices across supported chains to optimize transaction costs and timing for cryptocurrency operations.
Instructions
Get the current gas price. If chainId is not specified, will return gas price for all supported chains.
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": "getGasPrice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chainId | No | ||
| formatGwei | No |