How to connect Etherscan to Hermes in 2 mins: No API key needed

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.

EtherscanInstant · No API key

Hermes runs Etherscan through Composio, and the cost comes out of your free $2.

  • A wallet's balance$0.000016
  • A page of a wallet's transactions$0.000016
  • Safe, standard and fast gas prices$0.000016

$2 ≈ 125000 lookups or 125000 pages

Composio Instant

What you can do with your free $2

What your free $2 gets you with Etherscan
When you ask Hermes forHermes uses this toolCostWhat $2 gets you
A wallet's balanceGet Native Balance$0.000016 per lookupAbout 125,000 lookups
A page of a wallet's transactionsList Normal Transactions$0.000016 per pageAbout 125,000 pages
Safe, standard and fast gas pricesGet Gas Oracle$0.000016 per checkAbout 125,000 checks
Token transfers for a walletList Token Transfers$0.000016 per pageAbout 125,000 pages
A contract's verified source codeGet Contract Source Code$0.000016 per lookupAbout 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.

How it works

How to connect Etherscan to Hermes

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:

  • Bring your own key

    You bring your own Etherscan API key, set it up, and use it.

  • Use the Composio wallet

    Instant

    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.

Get started

Start to use Etherscan in Hermes in 3 steps

  1. Turn on Instant

    Open your Composio wallet and turn on Instant. Your free $2 shows up there.

  2. Add Composio to Hermes

    Follow the setup below. You only do this once.

  3. Ask Hermes for something

    Try a Etherscan prompt. The cost comes out of your $2.

Setup

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.

bash
curl -fsSL https://composio.dev/install | bash
Hermes authenticating with Composio

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.


Using Composio Connect MCP

1. Get your MCP URL and API Key

Go to dashboard.composio.dev and copy your Connect MCP URL and API key.

Copy MCP URL and API key from Composio dashboard

2. Open the Hermes config file

bash
nano ~/.hermes/config.yaml

3. Add the Composio Connect MCP server

bash
mcp_servers:
  composio:
    url: "https://connect.composio.dev/mcp"
    headers:
      x-consumer-api-key: "YOUR_COMPOSIO_API_KEY"
    connect_timeout: 60
    timeout: 180

Save 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!

Try it

Ask Hermes for something with Etherscan

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.

Optional: connect your own Etherscan key

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.

Starter prompts

Use your first $2: copy a prompt into Hermes

Each prompt runs on Instant, and the cost next to it is about what it takes from your $2.

  • Get told when gas is cheap

    Less than $0.01 per run

    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.

  • Watch a wallet for new activity

    Less than $0.01 per run

    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.

  • Get a daily balance report for your wallets

    Less than $0.01 per run

    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.

  • Get a message when your transaction confirms

    Less than $0.01 per run

    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.

  • Watch a proxy contract for upgrades

    Less than $0.01 per run

    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.

  • Watch a wallet for new NFT transfers

    Less than $0.01 per run

    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.

  • Alert when a token's supply changes

    Less than $0.01 per run

    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.

  • Track withdrawals to a validator address

    Less than $0.01 per run

    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.

What it can do

What Hermes can do with Etherscan

Works without a key

  • A wallet's balance
  • A page of a wallet's transactions
  • Safe, standard and fast gas prices
  • Token transfers for a wallet
  • A contract's verified source code

Needs your own Etherscan key

  • Get Address Funding Source
  • Get Address Metadata
  • Get API Usage
  • Get Ether Supply
  • Get Token Holder Count
  • Get Token Info
  • Get Verification Status
  • List Daily Block Counts and Rewards
  • and 6 more
Tools and prices

Supported tools (54)

Etherscan tools and their Instant prices
ToolWhat it doesWorks without a keyCost on Instant
Call ContractExecute a read-only eth_call at latest state and return raw ABI-encoded data; no transaction is created.YesEstimated $0.016 per 1,000 API calls
Estimate Confirmation TimeEstimate confirmation time in seconds for an optional exact gas price in wei.YesEstimated $0.016 per 1,000 API calls
Estimate Transaction GasEstimate gas required for a transaction-like call without submitting a transaction.YesEstimated $0.016 per 1,000 API calls
Get Address Transaction CountGet the number of transactions sent from an address at an optional block tag, as hexadecimal.YesEstimated $0.016 per 1,000 API calls
Get Block by NumberGet JSON-RPC block information for an explicit hexadecimal block number or the latest block, returning transaction hashes or full transaction objects.YesEstimated $0.016 per 1,000 API calls
Get Block CountdownEstimate blocks and seconds remaining until a future block is mined.YesEstimated $0.016 per 1,000 API calls
Get Block Number by TimestampGet the decimal block number closest before or after a Unix timestamp in seconds.YesEstimated $0.016 per 1,000 API calls
Get Block RewardsGet a block's miner reward, uncle inclusion reward, and included uncle records.YesEstimated $0.016 per 1,000 API calls
Get Block Transaction CountGet a block's total JSON-RPC transaction count as hexadecimal, without transfer-type breakdowns.YesEstimated $0.016 per 1,000 API calls
Get Block Transaction CountsGet Ethereum mainnet normal, internal, ERC20, ERC721, and ERC1155 transaction counts for a decimal block number.YesEstimated $0.016 per 1,000 API calls
Get Contract ABIGet the JSON-encoded ABI string for a verified contract.YesEstimated $0.016 per 1,000 API calls
Get Contract BytecodeGet bytecode stored at an address for an optional named or hexadecimal block tag.YesEstimated $0.016 per 1,000 API calls
Get Contract CreationGet creator, creation transaction, block, Unix-second timestamp, factory, and creation bytecode for up to five contracts on one chain.YesEstimated $0.016 per 1,000 API calls
Get Contract Execution StatusGet whether a transaction's contract execution failed and any provider error description.YesEstimated $0.016 per 1,000 API calls
Get Contract Source CodeGet source code plus compiler, proxy, implementation, license, and verification metadata for one contract.YesEstimated $0.016 per 1,000 API calls
Get Contract StorageGet the raw value at a contract storage position for an optional block tag.YesEstimated $0.016 per 1,000 API calls
Get Current Gas PriceGet the canonical JSON-RPC current gas price in wei as hexadecimal; use Get Gas Oracle for recommendations.YesEstimated $0.016 per 1,000 API calls
Get ERC20 BalanceGet one address's ERC20 token balance in exact smallest units, optionally at a historical block.YesEstimated $0.016 per 1,000 API calls
Get ERC20 Total SupplyGet 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.YesEstimated $0.016 per 1,000 API calls
Get Gas OracleGet current safe, proposed, and fast gas-price recommendations and the suggested base fee as gwei strings.YesEstimated $0.016 per 1,000 API calls
Show all 54 tools
More Etherscan tools and their Instant prices
ToolWhat it doesWorks without a keyCost on Instant
Get Latest Block NumberGet the latest block number as an exact hexadecimal JSON-RPC quantity.YesEstimated $0.016 per 1,000 API calls
Get Latest Native PriceGet the latest native-token prices in BTC and USD with their Unix-second timestamps.YesEstimated $0.016 per 1,000 API calls
Get Native BalanceGet one address's native-token balance in exact wei, optionally at a historical block.YesEstimated $0.016 per 1,000 API calls
Get Native BalancesGet native-token balances for up to 20 addresses in one call, returning wei as exact decimal strings on one chain.YesEstimated $0.016 per 1,000 API calls
Get Node CountGet the current discoverable-node count or daily historical counts over a UTC date range.YesEstimated $0.016 per 1,000 API calls
Get TransactionGet one full JSON-RPC transaction by hash or by hexadecimal block number and transaction index.YesEstimated $0.016 per 1,000 API calls
Get Transaction ReceiptGet a full JSON-RPC transaction receipt, including event logs, by hash on one chain.YesEstimated $0.016 per 1,000 API calls
Get Transaction Receipt StatusGet a transaction receipt's success or failure status string.YesEstimated $0.016 per 1,000 API calls
Get Uncle BlockGet an uncle block by optional hexadecimal parent block number and uncle index.YesEstimated $0.016 per 1,000 API calls
List Beacon WithdrawalsList one page of beacon-chain withdrawals, optionally filtered by recipient and inclusive block range.YesEstimated $0.016 per 1,000 API calls
List Chain SizeList daily Ethereum node-chain size measurements for one client and sync mode over a date range.YesEstimated $0.016 per 1,000 API calls
List Event LogsList one provider page of event logs over an inclusive block range, filtered by an emitting address, indexed topics, or both.YesEstimated $0.016 per 1,000 API calls
List Internal TransactionsList internal transactions by address, transaction hash, or an unfiltered block range.YesEstimated $0.016 per 1,000 API calls
List L2 Bridge TransactionsList one page of canonical L2 deposits from Ethereum or withdrawals to Ethereum for an address on a supported L2.YesEstimated $0.016 per 1,000 API calls
List Normal TransactionsList one provider page of an address's normal transactions, optionally filtered by start and end block.YesEstimated $0.016 per 1,000 API calls
List Plasma DepositsList one page of Plasma deposit transactions on documented Polygon, Gnosis, or BitTorrent Chain networks, optionally filtered by recipient address.YesEstimated $0.016 per 1,000 API calls
List Supported ChainsList current Etherscan mainnet and testnet chains, explorer and API URLs, and service status.YesEstimated $0.016 per 1,000 API calls
List Token TransfersList 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.YesEstimated $0.016 per 1,000 API calls
List Validated BlocksList one page of full blocks or pre-Merge uncle blocks validated by an address.YesEstimated $0.016 per 1,000 API calls
Resolve ENS NameResolve an ENS name or supported onchain subdomain to an address on Ethereum mainnet.YesEstimated $0.016 per 1,000 API calls
Get Address Funding SourceGet the first transaction and address that funded an externally owned account.Needs your own keyBilled to your own Etherscan key
Get Address MetadataGet Etherscan nametags, labels, reputation, notes, and provider-defined metadata for up to 100 addresses.Needs your own keyBilled to your own Etherscan key
Get API UsageGet API credits used, available, and allowed for the connected API key's current interval.Needs your own keyBilled to your own Etherscan key
Get Ether SupplyGet 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 keyBilled to your own Etherscan key
Get Token Holder CountGet the number of addresses currently holding an ERC20 token.Needs your own keyBilled to your own Etherscan key
Get Token InfoGet token identity, standard, supply, verification, project links, price, and logo metadata for an ERC20, ERC721, or ERC1155 contract.Needs your own keyBilled to your own Etherscan key
Get Verification StatusCheck source-code or proxy verification status for a GUID returned by a prior verification submission.Needs your own keyBilled to your own Etherscan key
List Daily Block Counts and RewardsList daily mined-block counts and corresponding block rewards in ether over a UTC date range.Needs your own keyBilled to your own Etherscan key
List Daily Gas PricesList daily minimum, average, and maximum gas prices in wei over a UTC date range.Needs your own keyBilled to your own Etherscan key
List Daily Network MetricsList one normalized daily scalar metric over a UTC date range.Needs your own keyBilled to your own Etherscan key
List Daily Uncle Counts and RewardsList daily uncle-block counts and uncle rewards in ether over a UTC date range.Needs your own keyBilled to your own Etherscan key
List ERC721 InventoryList one page of ERC721 token IDs owned by an address for one collection.Needs your own keyBilled to your own Etherscan key
List Token HoldersList one page of ERC20 holders or up to 1000 top holders for a token.Needs your own keyBilled to your own Etherscan key
List Token HoldingsList one page of ERC20 token balances or ERC721 collection quantities held by an address.Needs your own keyBilled to your own Etherscan key
Pricing

How you pay for Etherscan

  • Your first $2 is freeIt's added to your Composio wallet when you turn on Instant.
  • You pay for each callYou pay Etherscan's price with 0% markup, plus the regular Composio tool call charge.
  • Your own key comes firstIf you connect your own Etherscan key, Composio uses it and doesn't charge Instant for those calls.
  • You control the costYou can ask your agent to check with you before each paid call, and you can turn Instant off at any time.
  • You can see each callYour wallet shows each call and what it cost.
  • When your balance runs outYou can add funds to your wallet on a Pro plan or connect your own key.
Help

Troubleshooting

  1. 1. Hermes asks me for a Etherscan API key

    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.

  2. 2. I can't see my free $2

    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.

  3. 3. A Etherscan call failed with a balance error

    Your balance is empty. Add funds to your wallet on a Pro plan, or connect your own Etherscan key, then try again.

FAQ

Frequently asked questions

Start with Etherscan.It takes 30 seconds.

New accounts get a one-time $2 starter credit for Instant calls.Run Etherscan from your agent with no Etherscan key.

Get $2 starter credit