Skip to main content

Class: EvmWalletProfitabilityTokenData

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

Class: EvmWalletProfitabilityTokenData

@moralisweb3/common-evm-utils.EvmWalletProfitabilityTokenData

Table of contents

Methods

Properties

Methods

create

Static create(input): EvmWalletProfitabilityTokenData

Parameters

NameType
inputEvmWalletProfitabilityTokenDataInput | EvmWalletProfitabilityTokenData

Returns

EvmWalletProfitabilityTokenData


fromJSON

Static fromJSON(json): EvmWalletProfitabilityTokenData

Parameters

NameType
jsonEvmWalletProfitabilityTokenDataJSON

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.


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.