Integrating Etherscan with Hermes
Using Composio Connect CLI
1. Install the Composio CLI
Run the install script directly, or paste https://composio.dev/hermes into your Hermes chat box to have it installed for you.
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.SIGN UP
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.LOG IN
You can get told when gas is cheap, watch a wallet for new activity and get a daily balance report for your wallets from Hermes. Composio runs each call on its own Etherscan account, so you don't need a Etherscan API key, and your first $2 is free.
Hermes runs Etherscan through Composio, and the cost comes out of your free $2.
$2 ≈ 125000 lookups or 125000 pages
| When you ask Hermes for | Hermes uses this tool | Cost | What $2 gets you |
|---|---|---|---|
| A wallet's balance | Get Native Balance | $0.000016 per lookup | About 125,000 lookups |
| A page of a wallet's transactions | List Normal Transactions | $0.000016 per page | About 125,000 pages |
| Safe, standard and fast gas prices | Get Gas Oracle | $0.000016 per check | About 125,000 checks |
| Token transfers for a wallet | List Token Transfers | $0.000016 per page | About 125,000 pages |
| A contract's verified source code | Get Contract Source Code | $0.000016 per lookup | About 125,000 lookups |
You pay Etherscan's price for each call with 0% markup, plus the regular Composio tool call charge. There's no Etherscan subscription, and you only pay for what you use.
40 of 54 Etherscan tools work without a key. For Get Address Funding Source, Get Address Metadata, Get API Usage, Get Ether Supply, Get Token Holder Count, Get Token Info and 8 more, connect your own Etherscan key. Read how Instant works.
Composio adds Etherscan to Hermes as an Instant toolkit. You connect Composio to Hermes once, and then Hermes can use Etherscan right away. There are two ways to do this:
You bring your own Etherscan API key, set it up, and use it.
Composio runs each call on its own Etherscan account, so you don't have to set anything up at Etherscan, and your first $2 is free.
You do the setup one time and it takes about a minute. If you build Etherscan into your own product, turn on Instant toolkits in your project settings so your agent can call Etherscan for each of your users without a Etherscan API key, and read Instant tools in the Composio docs for the setup steps and code examples.
Open your Composio wallet and turn on Instant. Your free $2 shows up there.
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.Open my wallet
Follow the setup below. You only do this once.
Try a Etherscan prompt. The cost comes out of your $2.
1. Install the Composio CLI
Run the install script directly, or paste https://composio.dev/hermes into your Hermes chat box to have it installed for you.
curl -fsSL https://composio.dev/install | bash
2. Authenticate
Once the CLI is installed, ask Hermes to authenticate with Composio.
3. Connect to Etherscan
Ask your agent to connect to Etherscan, or simply request any Etherscan-related task. Hermes will prompt you to authenticate and authorize access.
4. Done. You're all set with a new Etherscan connection.
1. Get your MCP URL and API Key
Go to dashboard.composio.dev and copy your Connect MCP URL and API key.

2. Open the Hermes config file
nano ~/.hermes/config.yaml3. Add the Composio Connect MCP server
mcp_servers:
composio:
url: "https://connect.composio.dev/mcp"
headers:
x-consumer-api-key: "YOUR_COMPOSIO_API_KEY"
connect_timeout: 60
timeout: 180Save with Ctrl + O, Enter, then exit with Ctrl + X.
4. Restart your Hermes agent
Once restarted, ask your agent to connect to Etherscan or request any Etherscan-related task. It will prompt you to authenticate and authorize access.
5. Done!
Start a new chat and try this prompt:
Check Ethereum gas prices every 30 minutes. Message me when the standard price drops below [number] gwei, with the safe, standard and fast prices. Don't message me again until it has gone back above that level and dropped again.
Hermes runs it on Instant and shows you the result. It doesn't ask you for a Etherscan key, and the cost comes out of your $2. You can see each call in your wallet.
If you want Get Address Funding Source, Get Address Metadata, Get API Usage, Get Ether Supply, Get Token Holder Count, Get Token Info and 8 more, you need your own key. Ask Hermes to connect your Etherscan account, and it gives you a Composio link:
Connect my Etherscan account using Composio.
Open the link, paste your Etherscan API key and click Connect Account. You can get a key from Etherscan API dashboard. After that, Composio uses your key first and doesn't charge Instant for those calls.
Each prompt runs on Instant, and the cost next to it is about what it takes from your $2.
Checks Ethereum gas prices through the day and messages you when they fall below the level you set.
Check Ethereum gas prices every 30 minutes. Message me when the standard price drops below [number] gwei, with the safe, standard and fast prices. Don't message me again until it has gone back above that level and dropped again.
Checks a wallet every few minutes and messages you about each new transaction or token transfer.
Check [wallet address] on Ethereum mainnet every 10 minutes for new transactions and ERC-20 transfers. Message me each new one with the direction, amount, token, the other address and the transaction hash. Only report things that happened since your last check.
Sends you each wallet's ETH balance and dollar value every morning, with the change since the day before.
Every morning at 9, get the ETH balance of these wallets on Ethereum mainnet: [paste up to 20 wallet addresses]. Message me a table with each balance in ETH and in USD at the current ETH price, the change since yesterday's report and the total. Flag any wallet that dropped by more than [number] ETH.
Keeps checking a transaction you sent and messages you as soon as it succeeds or fails.
Check transaction [transaction hash] on Ethereum mainnet every minute. As soon as it's mined, message me whether it succeeded or failed, the block number and the fee in ETH, then stop checking. If it's still pending after 1 hour, tell me and include the current gas prices.
Checks a proxy contract each day and messages you if it starts pointing to a new implementation.
Once a day, check the contract at [proxy contract address] on Ethereum mainnet and note which implementation address it points to. If that address is different from the last check, message me the old and new addresses, and whether the new implementation's source code is verified.
Alert on new ERC-721 movements for one address.
I want you to do this: Every 15 minutes, check the newest ERC-721 transfers for [wallet address] on Ethereum mainnet. Message me only transfers since the last check, with token contract, token ID, direction and transaction hash. Remember the last seen transfer.
Monitor the current ERC-20 total supply over time.
I want you to do this: Each morning, get the total supply of [token contract address] on Ethereum mainnet. Compare the exact raw value with yesterday's and message me if it changed, with the old value, new value and difference. Remember today's value.
Report newly listed beacon-chain withdrawals to one recipient.
I want you to do this: Each day, list recent beacon-chain withdrawals to [withdrawal address] on Ethereum mainnet. Message me any new withdrawal with amount, block and validator index. Remember the last reported withdrawal so it appears only once.
| Tool | What it does | Works without a key | Cost on Instant |
|---|---|---|---|
| Call Contract | Execute a read-only eth_call at latest state and return raw ABI-encoded data; no transaction is created. | Yes | Estimated $0.016 per 1,000 API calls |
| Estimate Confirmation Time | Estimate confirmation time in seconds for an optional exact gas price in wei. | Yes | Estimated $0.016 per 1,000 API calls |
| Estimate Transaction Gas | Estimate gas required for a transaction-like call without submitting a transaction. | Yes | Estimated $0.016 per 1,000 API calls |
| Get Address Transaction Count | Get the number of transactions sent from an address at an optional block tag, as hexadecimal. | Yes | Estimated $0.016 per 1,000 API calls |
| Get Block by Number | Get JSON-RPC block information for an explicit hexadecimal block number or the latest block, returning transaction hashes or full transaction objects. | Yes | Estimated $0.016 per 1,000 API calls |
| Get Block Countdown | Estimate blocks and seconds remaining until a future block is mined. | Yes | Estimated $0.016 per 1,000 API calls |
| Get Block Number by Timestamp | Get the decimal block number closest before or after a Unix timestamp in seconds. | Yes | Estimated $0.016 per 1,000 API calls |
| Get Block Rewards | Get a block's miner reward, uncle inclusion reward, and included uncle records. | Yes | Estimated $0.016 per 1,000 API calls |
| Get Block Transaction Count | Get a block's total JSON-RPC transaction count as hexadecimal, without transfer-type breakdowns. | Yes | Estimated $0.016 per 1,000 API calls |
| Get Block Transaction Counts | Get Ethereum mainnet normal, internal, ERC20, ERC721, and ERC1155 transaction counts for a decimal block number. | Yes | Estimated $0.016 per 1,000 API calls |
| Get Contract ABI | Get the JSON-encoded ABI string for a verified contract. | Yes | Estimated $0.016 per 1,000 API calls |
| Get Contract Bytecode | Get bytecode stored at an address for an optional named or hexadecimal block tag. | Yes | Estimated $0.016 per 1,000 API calls |
| Get Contract Creation | Get creator, creation transaction, block, Unix-second timestamp, factory, and creation bytecode for up to five contracts on one chain. | Yes | Estimated $0.016 per 1,000 API calls |
| Get Contract Execution Status | Get whether a transaction's contract execution failed and any provider error description. | Yes | Estimated $0.016 per 1,000 API calls |
| Get Contract Source Code | Get source code plus compiler, proxy, implementation, license, and verification metadata for one contract. | Yes | Estimated $0.016 per 1,000 API calls |
| Get Contract Storage | Get the raw value at a contract storage position for an optional block tag. | Yes | Estimated $0.016 per 1,000 API calls |
| Get Current Gas Price | Get the canonical JSON-RPC current gas price in wei as hexadecimal; use Get Gas Oracle for recommendations. | Yes | Estimated $0.016 per 1,000 API calls |
| Get ERC20 Balance | Get one address's ERC20 token balance in exact smallest units, optionally at a historical block. | Yes | Estimated $0.016 per 1,000 API calls |
| Get ERC20 Total Supply | Get an ERC20 token's current total supply, or its historical supply when block_number is provided; historical lookup requires Standard+, is mainnet-only, and is unavailable on testnets. | Yes | Estimated $0.016 per 1,000 API calls |
| Get Gas Oracle | Get current safe, proposed, and fast gas-price recommendations and the suggested base fee as gwei strings. | Yes | Estimated $0.016 per 1,000 API calls |
| Tool | What it does | Works without a key | Cost on Instant |
|---|---|---|---|
| Get Latest Block Number | Get the latest block number as an exact hexadecimal JSON-RPC quantity. | Yes | Estimated $0.016 per 1,000 API calls |
| Get Latest Native Price | Get the latest native-token prices in BTC and USD with their Unix-second timestamps. | Yes | Estimated $0.016 per 1,000 API calls |
| Get Native Balance | Get one address's native-token balance in exact wei, optionally at a historical block. | Yes | Estimated $0.016 per 1,000 API calls |
| Get Native Balances | Get native-token balances for up to 20 addresses in one call, returning wei as exact decimal strings on one chain. | Yes | Estimated $0.016 per 1,000 API calls |
| Get Node Count | Get the current discoverable-node count or daily historical counts over a UTC date range. | Yes | Estimated $0.016 per 1,000 API calls |
| Get Transaction | Get one full JSON-RPC transaction by hash or by hexadecimal block number and transaction index. | Yes | Estimated $0.016 per 1,000 API calls |
| Get Transaction Receipt | Get a full JSON-RPC transaction receipt, including event logs, by hash on one chain. | Yes | Estimated $0.016 per 1,000 API calls |
| Get Transaction Receipt Status | Get a transaction receipt's success or failure status string. | Yes | Estimated $0.016 per 1,000 API calls |
| Get Uncle Block | Get an uncle block by optional hexadecimal parent block number and uncle index. | Yes | Estimated $0.016 per 1,000 API calls |
| List Beacon Withdrawals | List one page of beacon-chain withdrawals, optionally filtered by recipient and inclusive block range. | Yes | Estimated $0.016 per 1,000 API calls |
| List Chain Size | List daily Ethereum node-chain size measurements for one client and sync mode over a date range. | Yes | Estimated $0.016 per 1,000 API calls |
| List Event Logs | List one provider page of event logs over an inclusive block range, filtered by an emitting address, indexed topics, or both. | Yes | Estimated $0.016 per 1,000 API calls |
| List Internal Transactions | List internal transactions by address, transaction hash, or an unfiltered block range. | Yes | Estimated $0.016 per 1,000 API calls |
| List L2 Bridge Transactions | List one page of canonical L2 deposits from Ethereum or withdrawals to Ethereum for an address on a supported L2. | Yes | Estimated $0.016 per 1,000 API calls |
| List Normal Transactions | List one provider page of an address's normal transactions, optionally filtered by start and end block. | Yes | Estimated $0.016 per 1,000 API calls |
| List Plasma Deposits | List one page of Plasma deposit transactions on documented Polygon, Gnosis, or BitTorrent Chain networks, optionally filtered by recipient address. | Yes | Estimated $0.016 per 1,000 API calls |
| List Supported Chains | List current Etherscan mainnet and testnet chains, explorer and API URLs, and service status. | Yes | Estimated $0.016 per 1,000 API calls |
| List Token Transfers | List one provider page of ERC20, ERC721, or ERC1155 transfers, selected by token_standard and filtered by an account, token contract, or both on one chain. | Yes | Estimated $0.016 per 1,000 API calls |
| List Validated Blocks | List one page of full blocks or pre-Merge uncle blocks validated by an address. | Yes | Estimated $0.016 per 1,000 API calls |
| Resolve ENS Name | Resolve an ENS name or supported onchain subdomain to an address on Ethereum mainnet. | Yes | Estimated $0.016 per 1,000 API calls |
| Get Address Funding Source | Get the first transaction and address that funded an externally owned account. | Needs your own key | Billed to your own Etherscan key |
| Get Address Metadata | Get Etherscan nametags, labels, reputation, notes, and provider-defined metadata for up to 100 addresses. | Needs your own key | Billed to your own Etherscan key |
| Get API Usage | Get API credits used, available, and allowed for the connected API key's current interval. | Needs your own key | Billed to your own Etherscan key |
| Get Ether Supply | Get Ether supply in wei, either the basic block-reward supply or the ETH-specific component breakdown including staking, EIP-1559 burned fees, and staking withdrawals. | Needs your own key | Billed to your own Etherscan key |
| Get Token Holder Count | Get the number of addresses currently holding an ERC20 token. | Needs your own key | Billed to your own Etherscan key |
| Get Token Info | Get token identity, standard, supply, verification, project links, price, and logo metadata for an ERC20, ERC721, or ERC1155 contract. | Needs your own key | Billed to your own Etherscan key |
| Get Verification Status | Check source-code or proxy verification status for a GUID returned by a prior verification submission. | Needs your own key | Billed to your own Etherscan key |
| List Daily Block Counts and Rewards | List daily mined-block counts and corresponding block rewards in ether over a UTC date range. | Needs your own key | Billed to your own Etherscan key |
| List Daily Gas Prices | List daily minimum, average, and maximum gas prices in wei over a UTC date range. | Needs your own key | Billed to your own Etherscan key |
| List Daily Network Metrics | List one normalized daily scalar metric over a UTC date range. | Needs your own key | Billed to your own Etherscan key |
| List Daily Uncle Counts and Rewards | List daily uncle-block counts and uncle rewards in ether over a UTC date range. | Needs your own key | Billed to your own Etherscan key |
| List ERC721 Inventory | List one page of ERC721 token IDs owned by an address for one collection. | Needs your own key | Billed to your own Etherscan key |
| List Token Holders | List one page of ERC20 holders or up to 1000 top holders for a token. | Needs your own key | Billed to your own Etherscan key |
| List Token Holdings | List one page of ERC20 token balances or ERC721 collection quantities held by an address. | Needs your own key | Billed to your own Etherscan key |
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.Open my Composio wallet
You may have asked for something that needs your own key, like Get Address Funding Source, Get Address Metadata, Get API Usage, Get Ether Supply, Get Token Holder Count, Get Token Info and 8 more. Those tools don't run on Instant. For everything else, check that Instant is turned on in your Composio wallet, then ask again.
Open your wallet in the Composio dashboard and check that Instant is turned on. If the $2 still isn't there, email support@composio.dev from the address you signed up with.
Your balance is empty. Add funds to your wallet on a Pro plan, or connect your own Etherscan key, then try again.
Supabase is an open-source backend platform offering scalable Postgres databases, authentication, storage, and real-time APIs. It lets developers build modern apps without managing infrastructure.
Codeinterpreter is a Python-based coding environment with built-in data analysis and visualization. It lets you instantly run scripts, plot results, and prototype solutions inside supported platforms.
GitHub is a code hosting platform for version control and collaborative software development. It streamlines project management, code review, and team workflows in one place.
21st MCP is a hosted design resource service for React/shadcn components, themes, templates, and SVG logos. It gives teams a fast way to discover, organize, and reuse polished interface assets.
Not for the 40 tools that run on Instant. Composio runs those calls on its own Etherscan account, and you only add Composio to your agent. The other 14 tools need your own Etherscan key.
Yes. Every Composio account gets $2 of Instant credit once you turn on Instant, and you can use it on Etherscan or on any other Instant toolkit.
You can get about 125,000 lookups, about 125,000 pages or about 125,000 checks. The price list on this page shows the cost of each tool.
Instant calls stop. You can add funds to your wallet on a Pro plan, or connect your own Etherscan key.
You pay Etherscan's price for each call with 0% markup, plus the regular Composio tool call charge.
Yes. Connect your key from the Etherscan toolkit in your Composio dashboard. Composio always uses your own connection first, and it doesn't charge Instant for those calls.
You can use 40 of the 54 tools without a key, including Call Contract, Estimate Confirmation Time, Estimate Transaction Gas, Get Address Transaction Count, Get Block by Number, Get Block Countdown and 34 more. The other 14 tools need your own Etherscan key.
Composio is SOC 2 Type II compliant.
New accounts get a one-time $2 starter credit for Instant calls.Run Etherscan from your agent with no Etherscan key.
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.Get $2 starter credit