pub struct GetMarketMetadataResponse {Show 18 fields
pub base_icon_url: Option<String>,
pub high24h: Option<String>,
pub index_price: Option<String>,
pub last_price: Option<String>,
pub last_price_timestamp: Option<String>,
pub low24h: Option<String>,
pub mark_price: Option<String>,
pub market_initialization_timestamp: Option<String>,
pub max_leverage: Option<String>,
pub min_leverage: Option<String>,
pub price_change24h: Option<String>,
pub price_change_percent24h: Option<String>,
pub quote_icon_url: Option<String>,
pub symbol: Option<String>,
pub total_base_volume_ltd: Option<String>,
pub total_quote_volume_ltd: Option<String>,
pub total_trade_count_ltd: Option<String>,
pub volume24h: Option<String>,
}Expand description
Market metadata with current price and 24h statistics.
JSON schema
{
"description": "Market metadata with current price and 24h statistics.",
"type": "object",
"properties": {
"baseIconUrl": {
"description": "URL for the base token icon",
"examples": [
"https://assets.0xmonaco.com/icons/btc.svg"
],
"type": [
"string",
"null"
]
},
"high24h": {
"description": "Highest price in the last 24 hours",
"examples": [
"96500.00"
],
"type": [
"string",
"null"
]
},
"indexPrice": {
"description": "Current index/oracle reference price",
"examples": [
"95400.00"
],
"type": [
"string",
"null"
]
},
"lastPrice": {
"description": "Most recent trade price",
"examples": [
"95432.50"
],
"type": [
"string",
"null"
]
},
"lastPriceTimestamp": {
"description": "Timestamp of the last trade (ms since epoch)",
"examples": [
"1736742000000"
],
"type": [
"string",
"null"
]
},
"low24h": {
"description": "Lowest price in the last 24 hours",
"examples": [
"94200.00"
],
"type": [
"string",
"null"
]
},
"markPrice": {
"description": "Current manipulation-resistant mark price",
"examples": [
"95410.25"
],
"type": [
"string",
"null"
]
},
"marketInitializationTimestamp": {
"description": "When this market was first initialized (ms since epoch)",
"examples": [
"1735000000000"
],
"type": [
"string",
"null"
]
},
"maxLeverage": {
"description": "Maximum supported leverage for margin markets",
"examples": [
"20"
],
"type": [
"string",
"null"
]
},
"minLeverage": {
"description": "Minimum supported leverage for margin markets",
"examples": [
"1"
],
"type": [
"string",
"null"
]
},
"priceChange24h": {
"description": "Absolute price change in the last 24 hours",
"examples": [
"1232.50"
],
"type": [
"string",
"null"
]
},
"priceChangePercent24h": {
"description": "Percentage price change in the last 24 hours",
"examples": [
"1.31"
],
"type": [
"string",
"null"
]
},
"quoteIconUrl": {
"description": "URL for the quote token icon",
"examples": [
"https://assets.0xmonaco.com/icons/usdc.svg"
],
"type": [
"string",
"null"
]
},
"symbol": {
"description": "Trading pair symbol",
"examples": [
"BTC/USDC"
],
"type": [
"string",
"null"
]
},
"totalBaseVolumeLtd": {
"description": "Life-to-date cumulative base-token volume (since market inception); \"0\" for a pair with no trades yet",
"examples": [
"123456.78900000"
],
"type": [
"string",
"null"
]
},
"totalQuoteVolumeLtd": {
"description": "Life-to-date cumulative quote-token volume (since market inception); \"0\" for a pair with no trades yet",
"examples": [
"9123456789.50"
],
"type": [
"string",
"null"
]
},
"totalTradeCountLtd": {
"description": "Life-to-date cumulative number of trades (since market inception); 0 for a pair with no trades yet",
"examples": [
"482931"
],
"type": [
"string",
"null"
]
},
"volume24h": {
"description": "Base token volume in the last 24 hours",
"examples": [
"1234.5678"
],
"type": [
"string",
"null"
]
}
}
}Fields§
§base_icon_url: Option<String>URL for the base token icon
high24h: Option<String>Highest price in the last 24 hours
index_price: Option<String>Current index/oracle reference price
last_price: Option<String>Most recent trade price
last_price_timestamp: Option<String>Timestamp of the last trade (ms since epoch)
low24h: Option<String>Lowest price in the last 24 hours
mark_price: Option<String>Current manipulation-resistant mark price
market_initialization_timestamp: Option<String>When this market was first initialized (ms since epoch)
max_leverage: Option<String>Maximum supported leverage for margin markets
min_leverage: Option<String>Minimum supported leverage for margin markets
price_change24h: Option<String>Absolute price change in the last 24 hours
price_change_percent24h: Option<String>Percentage price change in the last 24 hours
quote_icon_url: Option<String>URL for the quote token icon
symbol: Option<String>Trading pair symbol
total_base_volume_ltd: Option<String>Life-to-date cumulative base-token volume (since market inception); “0” for a pair with no trades yet
total_quote_volume_ltd: Option<String>Life-to-date cumulative quote-token volume (since market inception); “0” for a pair with no trades yet
total_trade_count_ltd: Option<String>Life-to-date cumulative number of trades (since market inception); 0 for a pair with no trades yet
volume24h: Option<String>Base token volume in the last 24 hours
Trait Implementations§
Source§impl Clone for GetMarketMetadataResponse
impl Clone for GetMarketMetadataResponse
Source§fn clone(&self) -> GetMarketMetadataResponse
fn clone(&self) -> GetMarketMetadataResponse
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more