loom_rpc_handler::handler::pools

Function market_stats

Source
pub async fn market_stats<DB: DatabaseRef + Send + Sync + Clone + 'static>(
    __arg0: State<AppState<DB>>,
) -> Result<Json<MarketStats>, (StatusCode, String)>
Expand description

Market statistics

Get the latest market statistics