Skip to main content
Glama

Etherscan MCP Tool

Etherscan MCP 工具

该工具提供与区块链数据交互的功能,特别是检索给定链上代币的总供应量、检索给定链名称的链 ID,以及检索给定链 ID 的 RPC 端点的过滤列表。

用法

该工具具有以下功能:

  • 获取总供应量:根据给定地址和链 ID 检索代币的总供应量。
  • 获取链 ID :检索给定链名称的链 ID。
  • 获取过滤的 RPC 列表:检索给定链 ID 的 RPC 端点的过滤列表。

获取总供应量

要获取代币的总供应量,您需要提供链 ID 和代币地址。

参数:

  • chain_id :区块链网络的ID。
  • token_address :代币的地址。

例子:

要查找链56上代币0x6B2a01A5f79dEb4c2f3c0eDa7b01DF456FbD726a的总供应量,您可以使用以下命令:

{ "chain_id": 56, "token_address": "0x6B2a01A5f79dEb4c2f3c0eDa7b01DF456FbD726a" }

然后,该工具将返回代币的总供应量,例如:

46141292590

获取链ID

要获取链 ID,您需要提供链名称。

参数:

  • chain_name :区块链网络的名称。

例子:

要查找BNB Smart Chain Mainnet的链 ID,您可以使用以下命令:

{ "chain_name": "BNB Smart Chain Mainnet" }

然后该工具将返回链 ID,例如:

56

获取过滤后的 RPC 列表

要获取经过筛选的 RPC 端点列表,您需要提供链 ID。您还可以通过isOpenSourcetracking进行筛选。

参数:

  • chain_id :区块链网络的ID。
  • isOpenSource (可选):按 isOpenSource 进行过滤。
  • tracking (可选):按跟踪过滤(无、是、有限、未指定)。

例子:

要查找链 ID 1的 RPC 列表,您可以使用以下命令:

{ "chain_id": "1" }

然后该工具将返回链 ID 1 的 RPC 列表。

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

该工具使用户能够与区块链数据交互,以检索不同区块链网络中的代币总供应量、链 ID 和过滤的 RPC 端点。

  1. 用法
    1. 获取总供应量
    2. 获取链ID
    3. 获取过滤后的 RPC 列表

Related MCP Servers

  • A
    security
    A
    license
    A
    quality
    Facilitates interaction with Ethereum blockchain data via Etherscan's API, providing real-time access to balances, transactions, token transfers, contract ABIs, gas prices, and ENS name resolutions.
    Last updated 7 months ago
    6
    10
    21
    TypeScript
    MIT License
  • A
    security
    A
    license
    A
    quality
    Provides Ethereum blockchain data tools via Etherscan's API, enabling users to check ETH balances, view transactions, track token transfers, fetch contract ABIs, monitor gas prices, and resolve ENS names.
    Last updated 6 months ago
    6
    10
    1
    TypeScript
    MIT License
  • -
    security
    A
    license
    -
    quality
    A server that enables interaction with the Solana blockchain, providing access to over 40 Solana RPC methods including getting balances, transaction details, block information, and sending transactions.
    Last updated 4 months ago
    3
    Python
    MIT License
    • Apple
  • A
    security
    A
    license
    A
    quality
    Provides tools for AI assistants to interact with the Ethereum blockchain through standard JSON-RPC methods, enabling queries for account balances, gas prices, and smart contract code.
    Last updated 4 months ago
    6
    8
    JavaScript
    MIT License

View all related MCP servers

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/septemhill/etherscan-mcp'

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