Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 3.23 KB

supported-chains.md

File metadata and controls

43 lines (34 loc) · 3.23 KB
description
The list of chains supported by Web3API

⛓ Supported Chains

Supported Chains

All helper functions have a chain option to specify which blockchain to get data from. The following are the currently supported values for the chain option. Any of the "Lookup Values" will match the corresponding chain.

{% hint style="info" %} If not specified the chain will default to Ethereum Mainnet on javascript. {% endhint %} {% hint style="info" %} Get the list of supportedChains in unity

List<ChainEntry> chains = Moralis.SupportedChains;

{% endhint %}

Chain Lookup Values
Ethereum Mainnet eth, mainnet, 0x1
Goerli (Ethereum Testnet) goerli, 0x5
Binance Smart Chain Mainnet bsc, binance, binance smart chain, 0x38
Binance Smart Chain Testnet bsc testnet, binance testnet, binance smart chain testnet, 0x61
Polygon (Matic) Mainnet matic, polygon, 0x89
Mumbai (Matic Testnet) mumbai, matic testnet, polygon testnet, 0x13881
Avalanche Mainnet avalanche, 0xa86a
Avalanche Testnet avalanche testnet, 0xa869
Fantom Mainnet fantom, 0xfa
Cronos Mainnet cronos, 0x19

Local Dev Chain (Ganache, Hardhat)

(doesn't work currently with Web3API)

ganache, hardhat, localdevchain, local devchain ,dev, 0x539

{% hint style="warning" %} Ropsten, Rinkeby and Kovan are no longer supported starting June 2022 {% endhint %}

{% hint style="warning" %} Local Dev Chain (Ganache, Hardhat) doesn't work currently with Web3API. {% endhint %}