Etherscan

v0.2.1
io.github.pipeworx-io/etherscan Checked 1 day ago Published 1 month ago

Etherscan MCP — multichain block-explorer API (Etherscan V2)

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_balance

Native-token balance for an address on a supported EVM chain. Defaults to Ethereum mainnet. Accepts chain by slug (ethereum, polygon, bsc, base, arbitrum, optimism, avalanche, fantom, gnosis, linea, scroll, zksync, blast, mantle) or numeric chain ID.

ParameterTypeDescription
address *string0x address
chainstringChain slug or numeric chain ID (default ethereum)

get_token_balance

ERC-20 token balance for an address against a specific token contract.

ParameterTypeDescription
address *stringHolder address
contract_address *stringERC-20 contract address
chainstringChain slug or numeric chain ID (default ethereum)

list_transactions

List transactions for an address. type controls which list: "normal" (regular EOA txs), "internal" (contract-internal value transfers), "erc20" (ERC-20 transfers), "erc721" (NFT transfers), "erc1155" (multi-token transfers).

ParameterTypeDescription
address *stringAddress to inspect
chainstringChain slug or chain ID (default ethereum)
endblocknumberEnd block (default latest = 99999999)
offsetnumberResults per page (default 25, max 10000)
pagenumberPage number (default 1)
sortstringasc | desc (default desc)
startblocknumberStart block (default 0)
typestringnormal | internal | erc20 | erc721 | erc1155 (default normal)

get_contract_abi

Verified contract ABI as JSON (if the contract is verified on Etherscan).

ParameterTypeDescription
address *stringContract address
chainstringChain slug or chain ID (default ethereum)

get_contract_source

Verified contract source code, compiler version, optimization settings, and license.

ParameterTypeDescription
address *stringContract address
chainstringChain slug or chain ID (default ethereum)