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
Name | Type |
---|---|
input | "eth" | "polygon" | "matic" | "ftm" | "fantom" | "base" | "linea" | "0x1" | "0x89" | "0x38" | "0xfa" | "0xa4b1" | "0xa" | "0x2105" | "0xe708" | "bsc" | "arbitrum" | "optimism" | "mainnet" | "binance" | "pulsechain" | "0x171" |
Returns
EvmDiscoveryApiChainsListValue
fromJSON
▸ Static
fromJSON(json
): EvmDiscoveryApiChainsListValue
Parameters
Name | Type |
---|---|
json | EvmDiscoveryApiChainsListJSON |
Returns
EvmDiscoveryApiChainsListValue
Constructors
constructor
• new EvmDiscoveryApiChainsList()