Skip to main content

Class: EvmChainNetWorth

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

Class: EvmChainNetWorth

@moralisweb3/common-evm-utils.EvmChainNetWorth

Table of contents

Methods

Properties

Methods

create

Static create(input): EvmChainNetWorth

Parameters

NameType
inputEvmChainNetWorthInput | EvmChainNetWorth

Returns

EvmChainNetWorth


fromJSON

Static fromJSON(json): EvmChainNetWorth

Parameters

NameType
jsonEvmChainNetWorthJSON

Returns

EvmChainNetWorth


toJSON

toJSON(): EvmChainNetWorthJSON

Returns

EvmChainNetWorthJSON

Properties

chain

Readonly chain: string

Description

The chain


nativeBalance

Readonly nativeBalance: EvmNative

Description

The native balance


nativeBalanceFormatted

Readonly nativeBalanceFormatted: string

Description

The native balance formatted


nativeBalanceUsd

Readonly nativeBalanceUsd: string

Description

The native balance in USD


networthUsd

Readonly networthUsd: string

Description

The networth in USD


tokenBalanceUsd

Readonly tokenBalanceUsd: string

Description

The token balance in USD