Skip to main content

Class: SolSPLTokenPrice

moralis-monorepo / @moralisweb3/common-sol-utils / SolSPLTokenPrice

Class: SolSPLTokenPrice

@moralisweb3/common-sol-utils.SolSPLTokenPrice

Table of contents

Methods

Properties

Methods

create

Static create(input): SolSPLTokenPrice

Parameters

NameType
inputSolSPLTokenPriceInput | SolSPLTokenPrice

Returns

SolSPLTokenPrice


fromJSON

Static fromJSON(json): SolSPLTokenPrice

Parameters

NameType
jsonSolSPLTokenPriceJSON

Returns

SolSPLTokenPrice


toJSON

toJSON(): SolSPLTokenPriceJSON

Returns

SolSPLTokenPriceJSON

Properties

exchangeAddress

Optional Readonly exchangeAddress: SolAddress


exchangeName

Optional Readonly exchangeName: string


nativePrice

Optional Readonly nativePrice: SolSPLNativePrice


usdPrice

Optional Readonly usdPrice: number