Skip to main content
Glama

MetaMask MCP

by Xiawpohr

get-block

Fetch detailed information about Ethereum blocks using block number, hash, or tag. Integrate securely with MetaMask MCP to access blockchain data without exposing private keys.

Instructions

Fetch information about a block at a block number, hash or tag.

Input Schema

NameRequiredDescriptionDefault
blockHashNoInformation at a given block hash.
blockNumberNoInformation at a given block number.
blockTagNoInformation at a given block tag. Defaults to 'latest'.latest
chainIdNoID of chain to use when fetching data.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "blockHash": { "description": "Information at a given block hash.", "type": "string" }, "blockNumber": { "description": "Information at a given block number.", "format": "int64", "type": "integer" }, "blockTag": { "default": "latest", "description": "Information at a given block tag. Defaults to 'latest'.", "enum": [ "latest", "earliest", "pending", "safe", "finalized" ], "type": "string" }, "chainId": { "description": "ID of chain to use when fetching data.", "type": "number" } }, "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