Class: EvmMarketDataERC20TokenItem
moralis-monorepo / @moralisweb3/common-evm-utils / EvmMarketDataERC20TokenItem
Class: EvmMarketDataERC20TokenItem
@moralisweb3/common-evm-utils.EvmMarketDataERC20TokenItem
Table of contents
Methods
Properties
- contractAddress
- marketCapUsd
- price24hPercentChange
- price7dPercentChange
- priceUsd
- rank
- tokenDecimals
- tokenLogo
- tokenName
- tokenSymbol
Methods
create
▸ Static create(input): EvmMarketDataERC20TokenItem
Parameters
| Name | Type |
|---|---|
input | EvmMarketDataERC20TokenItemInput | EvmMarketDataERC20TokenItem |
Returns
fromJSON
▸ Static fromJSON(json): EvmMarketDataERC20TokenItem
Parameters
| Name | Type |
|---|---|
json | EvmMarketDataERC20TokenItemJSON |
Returns
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
tokenLogo
• Readonly tokenLogo: string
Description
The token image
tokenName
• Readonly tokenName: string
Description
The token name
tokenSymbol
• Readonly tokenSymbol: string
Description
The token symbol