guilder_client_hyperliquid/lib.rs
1pub mod client;
2pub mod rate_limiter;
3pub(crate) mod ws;
4pub use client::*;
5pub use client::HyperliquidNetwork;
6pub use ws::manager::{is_reconnect_marker, WS_RECONNECTING_MARKER};
7
8/// Token string marking the PERP (futures) ledger row in `get_balance`
9/// output. Under the manual-account model spot and futures are SEPARATE
10/// ledgers; the futures row is appended LAST and carries `__PERP__` so
11/// consumers can split the two without positional fragility.
12pub const PERP_LEDGER_TOKEN: &str = "__PERP__";