get-block-number
Retrieve the most recent block number from a specified blockchain using the MetaMask MCP server, enabling secure and direct blockchain interactions without exposing private keys.
Instructions
Fetch the number of the most recent block seen.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
chainId | No | ID of chain to use when fetching data. |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from MetaMask MCP
- call
- deploy-contract
- disconnect
- estimate-fee-per-gas
- estimate-gas
- get-account
- get-block
- get-block-number
- get-chain-id
- get-chain-list
- get-chains
- get-connect-uri
- get-ens-address
- get-ens-name
- get-native-currency-balance
- get-token
- get-token-balance
- get-transaction
- get-transaction-receipt
- read-contract
- send-transaction
- show-connect-qrcode
- sign-message
- switch-chain
- verify-message
- wait-for-transaction-receipt
- wait-seconds
- write-contract
Related Tools
- @Xiawpohr/metamask-mcp
- @dcSpark/mcp-cryptowallet-evm
- @z80dev/cryo-mcp
- @AbdelStark/bitcoin-mcp
- @crazyrabbitLTC/mcp-ethers-server