loom_rpc_handler::handler::pools

Function pool_quote

Source
pub async fn pool_quote<DB: DatabaseRef<Error = ErrReport> + Send + Sync + Clone + 'static>(
    __arg0: State<AppState<DB>>,
    __arg1: Path<String>,
    __arg2: Json<QuoteRequest>,
) -> Result<Json<QuoteResponse>, (StatusCode, String)>
Expand description

Get a quote

Get quote for a pair of a pool