Skip to main content
Glama

get-block-number

Retrieve the most recent block number from a specified blockchain chain using the provided chain ID. Simplify blockchain data access with secure MetaMask MCP server integration.

Instructions

Fetch the number of the most recent block seen.

Input Schema

NameRequiredDescriptionDefault
chainIdNoID of chain to use when fetching data.

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" } }, "type": "object" }

Latest Blog Posts

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