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