Skip to main content

Class: EvmTokenPriceItem

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

Class: EvmTokenPriceItem

@moralisweb3/common-evm-utils.EvmTokenPriceItem

Table of contents

Methods

Properties

Methods

create

Static create(input): EvmTokenPriceItem

Parameters

NameType
inputEvmTokenPriceItemInput | EvmTokenPriceItem

Returns

EvmTokenPriceItem


fromJSON

Static fromJSON(json): EvmTokenPriceItem

Parameters

NameType
jsonEvmTokenPriceItemJSON

Returns

EvmTokenPriceItem


toJSON

toJSON(): EvmTokenPriceItemJSON

Returns

EvmTokenPriceItemJSON

Properties

exchange

Optional Readonly exchange: string

Description

The exchange


toBlock

Optional Readonly toBlock: string

Description

The block number


tokenAddress

Readonly tokenAddress: EvmAddress

Description

The contract address