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
Name | Type |
---|---|
input | SolSPLTokenPriceInput | SolSPLTokenPrice |
Returns
fromJSON
▸ Static
fromJSON(json
): SolSPLTokenPrice
Parameters
Name | Type |
---|---|
json | SolSPLTokenPriceJSON |
Returns
toJSON
▸ toJSON(): SolSPLTokenPriceJSON
Returns
Properties
exchangeAddress
• Optional
Readonly
exchangeAddress: SolAddress
exchangeName
• Optional
Readonly
exchangeName: string
nativePrice
• Optional
Readonly
nativePrice: SolSPLNativePrice
usdPrice
• Optional
Readonly
usdPrice: number