Skip to main content

Class: EvmMarketDataERC20TokenItem

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

Class: EvmMarketDataERC20TokenItem

@moralisweb3/common-evm-utils.EvmMarketDataERC20TokenItem

Table of contents

Methods

Properties

Methods

create

Static create(input): EvmMarketDataERC20TokenItem

Parameters

NameType
inputEvmMarketDataERC20TokenItemInput | EvmMarketDataERC20TokenItem

Returns

EvmMarketDataERC20TokenItem


fromJSON

Static fromJSON(json): EvmMarketDataERC20TokenItem

Parameters

NameType
jsonEvmMarketDataERC20TokenItemJSON

Returns

EvmMarketDataERC20TokenItem


toJSON

toJSON(): EvmMarketDataERC20TokenItemJSON

Returns

EvmMarketDataERC20TokenItemJSON

Properties

contractAddress

Readonly contractAddress: EvmAddress

Description

The contract address


marketCapUsd

Readonly marketCapUsd: string

Description

The market cap in USD


price24hPercentChange

Readonly price24hPercentChange: string

Description

The price change in the last 24h


price7dPercentChange

Readonly price7dPercentChange: string

Description

The price change in the last 7d


priceUsd

Readonly priceUsd: string

Description

The price in USD


rank

Readonly rank: number

Description

The rank


tokenDecimals

Readonly tokenDecimals: number

Description

The token decimals


Readonly tokenLogo: string

Description

The token image


tokenName

Readonly tokenName: string

Description

The token name


tokenSymbol

Readonly tokenSymbol: string

Description

The token symbol