Class: EvmWalletProfitabilityTokenData
moralis-monorepo / @moralisweb3/common-evm-utils / EvmWalletProfitabilityTokenData
Class: EvmWalletProfitabilityTokenData
@moralisweb3/common-evm-utils.EvmWalletProfitabilityTokenData
Table of contents
Methods
Properties
- avgBuyPriceUsd
- avgCostOfQuantitySold
- avgSellPriceUsd
- countOfTrades
- decimals
- logo
- name
- possibleSpam
- realizedProfitPercentage
- realizedProfitUsd
- symbol
- tokenAddress
- totalBuys
- totalSells
- totalSoldUsd
- totalTokensBought
- totalTokensSold
- totalUsdInvested
Methods
create
▸ Static create(input): EvmWalletProfitabilityTokenData
Parameters
| Name | Type |
|---|---|
input | EvmWalletProfitabilityTokenDataInput | EvmWalletProfitabilityTokenData |
Returns
EvmWalletProfitabilityTokenData
fromJSON
▸ Static fromJSON(json): EvmWalletProfitabilityTokenData
Parameters
| Name | Type |
|---|---|
json | EvmWalletProfitabilityTokenDataJSON |
Returns
EvmWalletProfitabilityTokenData
toJSON
▸ toJSON(): EvmWalletProfitabilityTokenDataJSON
Returns
EvmWalletProfitabilityTokenDataJSON
Properties
avgBuyPriceUsd
• Readonly avgBuyPriceUsd: string
Description
Average buy price in USD.
avgCostOfQuantitySold
• Readonly avgCostOfQuantitySold: string
Description
Average cost of sold quantity.
avgSellPriceUsd
• Readonly avgSellPriceUsd: string
Description
Average sell price in USD.
countOfTrades
• Readonly countOfTrades: number
Description
Count of trades for the token.
decimals
• Readonly decimals: number
Description
Decimals of the token.
logo
• Readonly logo: string
Description
Logo URL of the token.
name
• Readonly name: string
Description
Name of the token.
possibleSpam
• Readonly possibleSpam: boolean
Description
Indicates whether the token is possibly spam.
realizedProfitPercentage
• Readonly realizedProfitPercentage: number
Description
Realized profit percentage for the token.
realizedProfitUsd
• Readonly realizedProfitUsd: string
Description
Realized profit in USD for the token.
symbol
• Readonly symbol: string
Description
Symbol of the token.
tokenAddress
• Readonly tokenAddress: EvmAddress
Description
The address of the traded token.
totalBuys
• Readonly totalBuys: number
Description
Total number of buys.
totalSells
• Readonly totalSells: number
Description
Total number of sells.
totalSoldUsd
• Readonly totalSoldUsd: string
Description
Total USD received from selling tokens.
totalTokensBought
• Readonly totalTokensBought: string
Description
Total tokens bought.
totalTokensSold
• Readonly totalTokensSold: string
Description
Total tokens sold.
totalUsdInvested
• Readonly totalUsdInvested: string
Description
Total USD invested.