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
Name | Type |
---|---|
input | EvmChainNetWorthInput | EvmChainNetWorth |
Returns
fromJSON
▸ Static
fromJSON(json
): EvmChainNetWorth
Parameters
Name | Type |
---|---|
json | EvmChainNetWorthJSON |
Returns
toJSON
▸ toJSON(): EvmChainNetWorthJSON
Returns
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