Skip to main content

Class: EvmChainList

moralis-monorepo / @moralisweb3/common-evm-utils / EvmChainList

Class: EvmChainList

@moralisweb3/common-evm-utils.EvmChainList

Table of contents

Methods

Constructors

Methods

create

Static create(input): EvmChainListValue

Parameters

NameType
input"eth" | "gnosis" | "polygon" | "fantom" | "base" | "holesky" | "linea" | "palm" | "0x1" | "0x5" | "0xaa36a7" | "0x89" | "0x13881" | "0x38" | "0x61" | "0xa86a" | "0xfa" | "0x19" | "0x2a15c308d" | "0xa4b1" | "0xa" | "0x15b38" | "0x15b32" | "0x64" | "0x27d8" | "0x2105" | "0x14a33" | "0x4268" | "0x13882" | "0xe708" | "goerli" | "sepolia" | "mumbai" | "bsc" | "bsc testnet" | "avalanche" | "cronos" | "arbitrum" | "chiliz" | "chiliz testnet" | "gnosis testnet" | "base testnet" | "optimism" | "base sepolia" | "0x14a34" | "polygon amoy"

Returns

EvmChainListValue


fromJSON

Static fromJSON(json): EvmChainListValue

Parameters

NameType
jsonEvmChainListJSON

Returns

EvmChainListValue

Constructors

constructor

new EvmChainList()