MarketUnderlyingInfo
Nested asset metadata, oracle prices, and market prices for a lending market.
asset object
Token metadata for an underlying asset.
chainIdstring
Example:
1addressstring
Token contract address (lowercase)
Example:
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48symbolstring
Example:
USDCnamestring
Example:
USD Coindecimalsintegernullable
Example:
6logoURIstringnullable
assetGroupstringnullable
Canonical asset group (e.g. "USDC", "ETH", "BTC")
Example:
USDCcurrencyIdstringnullable
props objectnullable
Protocol-specific asset properties
property name*anynullable
Protocol-specific asset properties
oraclePrice object
On-chain oracle price data.
oraclePricenumbernullable
Raw on-chain oracle price
oraclePriceUsdnumbernullable
Oracle price denominated in USD
prices object
Market prices for an asset with 24h comparison.
priceUsdnumbernullable
Current price in USD
priceTsstring<date-time>nullable
Timestamp of current price
priceUsd24hnumbernullable
Price 24 hours ago in USD
priceTs24hstring<date-time>nullable
Timestamp of 24h-ago price
priceChange24hnumbernullable
Percentage price change over 24h
MarketUnderlyingInfo
{
"asset": {
"chainId": "1",
"address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"symbol": "USDC",
"name": "USD Coin",
"decimals": 6,
"logoURI": "string",
"assetGroup": "USDC",
"currencyId": "string",
"props": {}
},
"oraclePrice": {
"oraclePrice": 0,
"oraclePriceUsd": 0
},
"prices": {
"priceUsd": 0,
"priceTs": "2024-07-29T15:51:28.071Z",
"priceUsd24h": 0,
"priceTs24h": "2024-07-29T15:51:28.071Z",
"priceChange24h": 0
}
}