Skip to main content
Glama

EVM MCP Server

by JamesANZ

eth_estimateGas

Estimate gas costs for Ethereum transactions before execution to optimize fees and prevent failed transactions due to insufficient gas.

Instructions

Generates and returns an estimate of how much gas is necessary

Input Schema

NameRequiredDescriptionDefault
dataNoData to send (hex string)
fromNoFrom address
gasNoGas limit
gasPriceNoGas price
toNoContract address (optional for contract creation)
valueNoValue in wei

Input Schema (JSON Schema)

{ "properties": { "data": { "description": "Data to send (hex string)", "type": "string" }, "from": { "description": "From address", "type": "string" }, "gas": { "description": "Gas limit", "type": "string" }, "gasPrice": { "description": "Gas price", "type": "string" }, "to": { "description": "Contract address (optional for contract creation)", "type": "string" }, "value": { "description": "Value in wei", "type": "string" } }, "type": "object" }

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/JamesANZ/evm-mcp'

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