df-hyperliquid-core 0.0.9-beta

Hyperliquid SDK for Rust: markets, account, trading, transfers, earn and deploy, with exact decimals and signing. Native and wasm.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! `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", &[])
}

pub async fn perp_deploy_auction(transport: &impl Transport) -> Result<GasAuction, ApiError> {
    info(transport, perp_deploy_auction_request()).await
}