Skip to main content

Class: EvmGetPairPrice

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

Class: EvmGetPairPrice

@moralisweb3/common-evm-utils.EvmGetPairPrice

Table of contents

Methods

Properties

Methods

create

Static create(input): EvmGetPairPrice

Parameters

NameType
inputEvmGetPairPriceInput | EvmGetPairPrice

Returns

EvmGetPairPrice


fromJSON

Static fromJSON(json): EvmGetPairPrice

Parameters

NameType
jsonEvmGetPairPriceJSON

Returns

EvmGetPairPrice


toJSON

toJSON(): EvmGetPairPriceJSON

Returns

EvmGetPairPriceJSON

Properties

baseToken

Optional Readonly baseToken: EvmErc20Metadata


exchange

Optional Readonly exchange: string


pairAddress

Optional Readonly pairAddress: string


pairLabel

Optional Readonly pairLabel: string


priceUsd

Optional Readonly priceUsd: string


quotePrice

Optional Readonly quotePrice: string


quoteToken

Optional Readonly quoteToken: EvmErc20Metadata