pub enum HyperliquidInfoRequestType {
Show 30 variants
Meta,
SpotMeta,
MetaAndAssetCtxs,
SpotMetaAndAssetCtxs,
L2Book,
AllMids,
UserFills,
UserFillsByTime,
OrderStatus,
OpenOrders,
FrontendOpenOrders,
ClearinghouseState,
SpotClearinghouseState,
ExchangeStatus,
CandleSnapshot,
Candle,
HistoricalOrders,
FundingHistory,
UserFunding,
NonUserFundingUpdates,
TwapHistory,
UserTwapSliceFills,
UserTwapSliceFillsByTime,
UserRateLimit,
UserRole,
DelegatorHistory,
DelegatorRewards,
ValidatorStats,
UserFees,
AllPerpMetas,
}Expand description
Represents info request types for the Hyperliquid info endpoint.
These correspond to the “type” field in info endpoint requests.
Variants§
Meta
Get metadata about available markets.
SpotMeta
Get spot metadata (tokens and pairs).
MetaAndAssetCtxs
Get metadata with asset contexts (for price precision).
SpotMetaAndAssetCtxs
Get spot metadata with asset contexts.
L2Book
Get L2 order book for a coin.
AllMids
Get all mid prices.
UserFills
Get user fills.
UserFillsByTime
Get user fills by time range.
OrderStatus
Get order status for a user.
OpenOrders
Get all open orders for a user.
FrontendOpenOrders
Get frontend open orders (includes more detail).
ClearinghouseState
Get user state (balances, positions, margin).
SpotClearinghouseState
Get spot clearinghouse state.
ExchangeStatus
Get exchange status.
CandleSnapshot
Get candle/bar data snapshot.
Candle
Get candle/bar data (WS post).
HistoricalOrders
Get historical orders.
FundingHistory
Get funding history.
UserFunding
Get user funding.
NonUserFundingUpdates
Get non-user funding updates.
TwapHistory
Get TWAP history.
UserTwapSliceFills
Get user TWAP slice fills.
UserTwapSliceFillsByTime
Get user TWAP slice fills by time range.
UserRateLimit
Get user rate limit.
UserRole
Get user role.
DelegatorHistory
Get delegator history.
DelegatorRewards
Get delegator rewards.
ValidatorStats
Get validator stats.
UserFees
Get user fee schedule and effective rates.
AllPerpMetas
Get metadata for all perp dexes (standard + HIP-3).
Implementations§
Trait Implementations§
Source§impl AsRef<str> for HyperliquidInfoRequestType
impl AsRef<str> for HyperliquidInfoRequestType
Source§impl Clone for HyperliquidInfoRequestType
impl Clone for HyperliquidInfoRequestType
Source§fn clone(&self) -> HyperliquidInfoRequestType
fn clone(&self) -> HyperliquidInfoRequestType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for HyperliquidInfoRequestType
impl Debug for HyperliquidInfoRequestType
Source§impl<'de> Deserialize<'de> for HyperliquidInfoRequestType
impl<'de> Deserialize<'de> for HyperliquidInfoRequestType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Display for HyperliquidInfoRequestType
impl Display for HyperliquidInfoRequestType
Source§impl FromStr for HyperliquidInfoRequestType
impl FromStr for HyperliquidInfoRequestType
Source§impl Hash for HyperliquidInfoRequestType
impl Hash for HyperliquidInfoRequestType
Source§impl IntoEnumIterator for HyperliquidInfoRequestType
impl IntoEnumIterator for HyperliquidInfoRequestType
Source§impl TryFrom<&str> for HyperliquidInfoRequestType
impl TryFrom<&str> for HyperliquidInfoRequestType
impl Copy for HyperliquidInfoRequestType
impl Eq for HyperliquidInfoRequestType
impl StructuralPartialEq for HyperliquidInfoRequestType
Auto Trait Implementations§
impl Freeze for HyperliquidInfoRequestType
impl RefUnwindSafe for HyperliquidInfoRequestType
impl Send for HyperliquidInfoRequestType
impl Sync for HyperliquidInfoRequestType
impl Unpin for HyperliquidInfoRequestType
impl UnsafeUnpin for HyperliquidInfoRequestType
impl UnwindSafe for HyperliquidInfoRequestType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> SetterInput<Owned> for T
impl<T> SetterInput<Owned> for T
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.