agentek-eth

by NaniDAO
Verified

estimateGasCost

Calculate the gas cost for Ethereum or Polygon transactions, providing estimates in both native token and USD. Input chain ID, gas units, and optional gas fees for accurate cost prediction with the MCP server agentek-eth.

Instructions

Estimate the gas cost for a transaction in both native token and USD

Input Schema

NameRequiredDescriptionDefault
chainIdYesChain ID (e.g. 1 for Ethereum, 137 for Polygon)
gasUnitsYesEstimated gas units for the transaction
maxFeePerGasNoOptional max fee per gas in gwei
maxPriorityFeePerGasNoOptional max priority fee per gas in gwei

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "chainId": { "description": "Chain ID (e.g. 1 for Ethereum, 137 for Polygon)", "type": "number" }, "gasUnits": { "description": "Estimated gas units for the transaction", "type": "number" }, "maxFeePerGas": { "description": "Optional max fee per gas in gwei", "type": "string" }, "maxPriorityFeePerGas": { "description": "Optional max priority fee per gas in gwei", "type": "string" } }, "required": [ "chainId", "gasUnits" ], "type": "object" }

You must be authenticated.

Other Tools from agentek-eth

Related Tools

ID: embaq2gcce