Skip to main content

Interface: MarketPrice

One token's market price, as GET /market/price answered it.

Properties​

PropertyTypeDescription
change24hnumber | null24-hour change in percent (-2.1 is -2.1 %); null when unknown.
listedbooleanWhether the token is on the backend's CoinGecko list (what the swap app's "trending" uses).
pricenumber | nullUSD price; null when the backend knows the token but has no price for it.
tokenstringThe id the price was asked for: the token string as given, or an object key's $ form.