Re-exportsยง
pub use orders::Order;pub use orders::OrdersFilters;pub use orders::Tick;
Modulesยง
Structsยง
- Book
Iterator - An iterator over orders for a specific orderbook
- Orderbook
- Orderbooks
Filter - Orderbooks
Response - Tempo
Dex - The JSON-RPC handlers for the
dex_namespace.
Enumsยง
- DexApi
Error - DEX API specific errors that extend [
EthApiError].
Constantsยง
- DEFAULT_
LIMIT ๐ - Default limit for pagination
- MAX_
LIMIT ๐ - Maximum limit for pagination
Functionsยง
- get_
book_ ๐keys_ for_ iteration - Gets book keys to iterate over. If both base and quote are specified, returns only that book. Otherwise returns all book keys (filtering happens later during iteration).
- order_
matches_ ๐filter - Checks if an order matches the given filters
- orderbook_
matches_ ๐filter - Checks if an orderbook matches the given filters
- parse_
order_ ๐cursor - Parses a QUANTITY cursor string into a u128 for orders
- parse_
orderbook_ ๐cursor - Parses a cursor string into a B256 for orderbooks