Introduction

V2 is in beta, and may bite, call you names or explode into a million lines of code 🌟

This V2 update is aimed at a single goal, of unifying EVM data across 50+ chains. 🤝

The Problem

Since the popularization of multichain apps, most project's Github repos look like a ( shortened ) version of this.

ETHERSCAN_API_KEY=VZFDUWB3YGQ1YCDKTCU1D6DDSS
BSCSCAN_API_KEY=ZM8ACMJB67C2IXKKBF8URFUNSY
SNOWTRACE_API_KEY=ATJQERBKV1CI3GVKNSE3Q7RGEJ
ARBISCAN_API_KEY=B6SVGA7K3YBJEQ69AFKJF4YHVX
OPTIMISM_API_KEY=66N5FRNV1ZD4I87S7MAHCJVXFJ

ETHERSCAN_API_URL=https://api.etherscan.io/api
BSCSCAN_API_KEY=https://api.bscscan.com/api
SNOWTRACE_API_KEY=https://api.snowscan.xyz/api
ARBISCAN_API_KEY=https://api.arbiscan.io/api
OPTIMISM_API_KEY=https://api-optimistic.etherscan.io/api

As we gained increasing support from chains to build the best onboarding and developer experiences to help them succeed, they were fragmented.

Now

Use a for loop for the same request to get token balances 💰, transactions 💰, gas prices for the chains you want to reach your users on.

Expand by adding a single number to your code, from the 50+ chains we support.

ETHERSCAN_API_URL=https://api.etherscan.io/v2/api
ETHERSCAN_API_KEY=VZFDUWB3YGQ1YCDKTCU1D6DDSS
CHAINS=[1,10,42161]

Last updated