Skip to main content
Glama

EVM MCP Server

by mcpdotdirect

estimate_gas

Calculate the gas cost for Ethereum-compatible blockchain transactions by providing recipient address, network, and transaction data. Integrates with EVM MCP Server for accurate estimations.

Instructions

Estimate the gas cost for a transaction

Input Schema

NameRequiredDescriptionDefault
dataNoThe transaction data as a hex string
networkNoNetwork name or chain ID. Defaults to Ethereum mainnet.
toYesThe recipient address
valueNoThe amount of ETH to send in ether (e.g., '0.1')

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "data": { "description": "The transaction data as a hex string", "type": "string" }, "network": { "description": "Network name or chain ID. Defaults to Ethereum mainnet.", "type": "string" }, "to": { "description": "The recipient address", "type": "string" }, "value": { "description": "The amount of ETH to send in ether (e.g., '0.1')", "type": "string" } }, "required": [ "to" ], "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/mcpdotdirect/evm-mcp-server'

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