Skip to main content

open_orders

Function open_orders 

Source
pub async fn open_orders(
    info_client: &InfoClient,
    address: H160,
) -> Result<Vec<OpenOrder>, UnindexedClientError>
Expand description

Fetch every open order for address, parsed into OpenOrder rather than the SDK’s lossy type, which drops the cloid.

§Errors

Returns a transport error if the POST fails, or a parse error if the response does not match OpenOrder.