pub type OrdersParams = PaginationParams<OrdersFilters>;Aliased Type§
pub struct OrdersParams {
pub cursor: Option<String>,
pub filters: Option<OrdersFilters>,
pub limit: Option<usize>,
pub sort: Option<Sort>,
}Fields§
§cursor: Option<String>Cursor for pagination.
The cursor format depends on the endpoint:
dex_getOrders: Order ID (u128 encoded as string)dex_getOrderbooks: Book Key (B256 encoded as hex string)
Defaults to first entry based on the sort and filter configuration.
Use the nextCursor in response to get the next set of results.
filters: Option<OrdersFilters>Determines which items should be yielded in the response.
limit: Option<usize>Maximum number of orders to return.
Defaults to 10. Maximum is 100.
sort: Option<Sort>Determines the order of the items yielded in the response.
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 224 bytes