Skip to main content
Glama

agentek-eth

by NaniDAO

getGasPrice

Retrieve the current gas price for Ethereum-based transactions. Specify a chainId for a single chain or leave it blank to get prices across all supported chains. Optionally format the result in Gwei.

Instructions

Get the current gas price. If chainId is not specified, will return gas price for all supported chains.

Input Schema

NameRequiredDescriptionDefault
chainIdNo
formatGweiNo

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "chainId": { "type": "number" }, "formatGwei": { "type": "boolean" } }, "type": "object" }

You must be authenticated.

Other Tools from agentek-eth

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/NaniDAO/agentek'

If you have feedback or need assistance with the MCP directory API, please join our Discord server