df-hyperliquid-core 0.2.6

Hyperliquid SDK for Rust with full API parity: info, exchange, websockets, HIP-3, HIP-4, HyperEVM and CoreWriter. Exact decimals, the fastest websocket parsing of the SDKs benchmarked, the fastest order signing with the secp256k1 feature, native and wasm.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! HYPE staking: moves between spot and staking, delegation, validators and rewards.

pub mod account;
pub mod actions;
pub mod plan;
pub mod reads;

pub use account::{PendingWithdrawal, REWARDS_WINDOW_MS, Staking, pending_withdrawals, rewards_since, staking};
pub use actions::{CDeposit, CDeposit2, CWithdraw, TokenDelegate, hype_wei};
pub use plan::{Balance, Change, Ctx, Effect, Plan, Refused};
pub use reads::{
    Delegation, DelegatorSummary, MAINNET_DELEGATION_LOCK_MS, MAINNET_UNSTAKING_MS, MAX_PENDING_WITHDRAWALS, Reward,
    StakeDelta, StakeEvent, TESTNET_DELEGATION_LOCK_MS, TESTNET_UNSTAKING_MS, ValidatorStats, ValidatorSummary,
    delegation_lock_ms, delegations, delegations_request, delegator_history, delegator_history_request,
    delegator_rewards, delegator_rewards_request, delegator_summary, delegator_summary_request, locked_until,
    unstaking_ms, validator_summaries, validator_summaries_request,
};