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
//! `perpDeployAuctionStatus`: the auction every dex shares for a perp past a dex's first three. A reserve
//! deployment skips it.

use crate::client::{ApiError, Transport, info, info_request};
use crate::deploy::auction::GasAuction;

/// `{"type":"perpDeployAuctionStatus"}`.
#[must_use]
pub fn perp_deploy_auction_request() -> String {
    info_request("perpDeployAuctionStatus", &[])
}

/// The current round of the shared HIP-3 perp deploy auction.
pub async fn perp_deploy_auction(transport: &impl Transport) -> Result<GasAuction, ApiError> {
    info(transport, perp_deploy_auction_request()).await
}