npm package: @junct/etherscan-api
Description: etherscan-api tools for AI agents — 71 tools, MCP + OpenAI compatible. Generated by Junct.
Author: Junct
Latest version: 0.1.0

# @junct/etherscan-api

> etherscan-api tools for AI agents — 71 tools

Generated by [Junct](https://junct.dev). analytics domain.

## Install

```bash
npm install @junct/etherscan-api
```

## Usage — OpenAI

```typescript
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:

```json
{
  "mcpServers": {
    "etherscan-api": {
      "url": "https://etherscan-api.mcp.junct.dev/mcp",
      "transport": "streamable-http"
    }
  }
}
```

## Usage — Direct Call

```typescript
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 ad
- `get_ether_balance_for_multiple_addresses_in_a_single_call` — Get Ether Balance for Multiple Addresses in a Single Call — Returns the balance 
- `get_a_list_of_normal_transactions_by_address` — Get a list of 'Normal' Transactions By Address — Returns the list of transaction
- `get_a_list_of_internal_transactions_by_address` — Get a list of 'Internal' Transactions by Address — Returns the list of internal 
- `get_internal_transactions_by_transaction_hash` — Get 'Internal Transactions' by Transaction Hash — Returns the list of internal t
- `get_internal_transactions_by_block_range` — Get "Internal Transactions" by Block Range — Returns the list of internal transa
- `get_a_list_of_erc20_token_transfer_events_by_address` — Get a list of 'ERC20 - Token Transfer Events' by Address — Returns the list of E
- `get_a_list_of_erc721_token_transfer_events_by_address` — Get a list of 'ERC721 - Token Transfer Events' by Address — Returns the list of 
- `get_a_list_of_erc1155_token_transfer_events_by_address` — Get a list of 'ERC1155 - Token Transfer Events' by Address — Returns the list of
- `get_list_of_blocks_validated_by_address` — Get list of Blocks Validated by Address — Returns the list of blocks validated b
- `get_beacon_chain_withdrawals_by_address_and_block_range` — Get Beacon Chain Withdrawals by Address and Block Range — Returns the beacon cha
- `get_historical_ether_balance_for_a_single_address_by_blockno` — Get Historical Ether Balance for a Single Address By BlockNo — Returns the balan
- `get_contract_abi_for_verified_contract_source_codes` — Get Contract ABI for Verified Contract Source Codes — Returns the Contract Appli
- `get_contract_source_code_for_verified_contract_source_codes` — Get Contract Source Code for Verified Contract Source Codes — Returns the Solidi
- `get_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