Skip to main content

Class: EvmDiscoveryApiChainsList

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

Class: EvmDiscoveryApiChainsList

@moralisweb3/common-evm-utils.EvmDiscoveryApiChainsList

Table of contents

Methods

Constructors

Methods

create

Static create(input): EvmDiscoveryApiChainsListValue

Parameters

NameType
input"eth" | "polygon" | "ftm" | "fantom" | "base" | "linea" | "0x1" | "0x89" | "0x38" | "0xfa" | "0xa4b1" | "0xa" | "0x2105" | "0xe708" | "bsc" | "arbitrum" | "optimism" | "mainnet" | "matic" | "binance" | "pulsechain" | "0x171"

Returns

EvmDiscoveryApiChainsListValue


fromJSON

Static fromJSON(json): EvmDiscoveryApiChainsListValue

Parameters

NameType
jsonEvmDiscoveryApiChainsListJSON

Returns

EvmDiscoveryApiChainsListValue

Constructors

constructor

new EvmDiscoveryApiChainsList()