Skip to main content
Glama

MetaMask MCP

by Xiawpohr

estimate-fee-per-gas

Calculate fee-per-gas estimates (in wei, gwei, or ether) for transactions to ensure inclusion in the next block. Supports chain-specific data for accurate gas fee predictions.

Instructions

Estimate for the fees per gas (in wei) for a transaction to be likely included in the next block.

Input Schema

NameRequiredDescriptionDefault
chainIdNoID of chain to use when fetching data.
formatUnitsNoUnits to use when formatting result.gwei

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "chainId": { "description": "ID of chain to use when fetching data.", "type": "number" }, "formatUnits": { "default": "gwei", "description": "Units to use when formatting result.", "enum": [ "ether", "gwei", "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/Xiawpohr/metamask-mcp'

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