Skip to main content

revoke_from_env

Function revoke_from_env 

Source
pub async fn revoke_from_env(non_interactive: bool) -> bool
Expand description

Revokes the Nautilus builder fee using environment variables.

Reads private key from environment:

  • Testnet: HYPERLIQUID_TESTNET_PK
  • Mainnet: HYPERLIQUID_PK

Set HYPERLIQUID_TESTNET to true or 1 for testnet, or false or 0 for mainnet (the default when unset). Boolean words are case-insensitive. Returns false without submitting a request if the value is invalid, including empty strings.