EVM MCP Server

by mcpdotdirect
Verified

estimate_gas

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" }