@junct/etherscan-api
v0.1.0
Published
etherscan-api tools for AI agents — 71 tools, MCP + OpenAI compatible. Generated by Junct.
Maintainers
Readme
@junct/etherscan-api
etherscan-api tools for AI agents — 71 tools
Generated by Junct. analytics domain.
Install
npm install @junct/etherscan-apiUsage — OpenAI
import { tools } from '@junct/etherscan-api';
import OpenAI from 'openai';
const client = new OpenAI();
const response = await client.chat.completions.create({
model: 'gpt-4o',
messages: [{ role: 'user', content: 'Query etherscan-api' }],
tools,
});Usage — MCP (Claude Desktop / Cursor)
Add to your MCP config:
{
"mcpServers": {
"etherscan-api": {
"url": "https://etherscan-api.mcp.junct.dev/mcp",
"transport": "streamable-http"
}
}
}Usage — Direct Call
import { callTool } from '@junct/etherscan-api';
const result = await callTool('get_ether_balance_for_a_single_address', {});
console.log(result);Tools (71)
get_ether_balance_for_a_single_address— Get Ether Balance for a Single Address — Returns the Ether balance of a given adget_ether_balance_for_multiple_addresses_in_a_single_call— Get Ether Balance for Multiple Addresses in a Single Call — Returns the balanceget_a_list_of_normal_transactions_by_address— Get a list of 'Normal' Transactions By Address — Returns the list of transactionget_a_list_of_internal_transactions_by_address— Get a list of 'Internal' Transactions by Address — Returns the list of internalget_internal_transactions_by_transaction_hash— Get 'Internal Transactions' by Transaction Hash — Returns the list of internal tget_internal_transactions_by_block_range— Get "Internal Transactions" by Block Range — Returns the list of internal transaget_a_list_of_erc20_token_transfer_events_by_address— Get a list of 'ERC20 - Token Transfer Events' by Address — Returns the list of Eget_a_list_of_erc721_token_transfer_events_by_address— Get a list of 'ERC721 - Token Transfer Events' by Address — Returns the list ofget_a_list_of_erc1155_token_transfer_events_by_address— Get a list of 'ERC1155 - Token Transfer Events' by Address — Returns the list ofget_list_of_blocks_validated_by_address— Get list of Blocks Validated by Address — Returns the list of blocks validated bget_beacon_chain_withdrawals_by_address_and_block_range— Get Beacon Chain Withdrawals by Address and Block Range — Returns the beacon chaget_historical_ether_balance_for_a_single_address_by_blockno— Get Historical Ether Balance for a Single Address By BlockNo — Returns the balanget_contract_abi_for_verified_contract_source_codes— Get Contract ABI for Verified Contract Source Codes — Returns the Contract Appliget_contract_source_code_for_verified_contract_source_codes— Get Contract Source Code for Verified Contract Source Codes — Returns the Solidiget_contract_creator_and_creation_tx_hash— Get Contract Creator and Creation Tx Hash — Returns a contract's deployer addres- ... and 56 more
Links
- Server: https://etherscan-api.mcp.junct.dev/mcp
- Dashboard: https://junct.dev/servers/etherscan-api
- All servers: https://junct.dev/servers
