View Source Hyperliquid.Api.Exchange.StakingLinkDisableTradingUser (hyperliquid v0.4.1)
Disable a trading user previously linked to a staking account.
The inverse of Hyperliquid.Api.Exchange.LinkStakingUser. Unlike that action
this one is user-signed (EIP-712 typed data), so it must be signed with the
master key rather than an agent wallet.
See: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint
Usage
{:ok, result} = StakingLinkDisableTradingUser.request("0xabc...")
Summary
Functions
Disable a linked trading user.
Functions
Disable a linked trading user.
Parameters
trading_user: Address of the trading user to disableopts: Optional parameters
Options
:private_key- Private key for signing (falls back to config)
Returns
{:ok, response}- Result{:error, term()}- Error details
Examples
{:ok, result} = StakingLinkDisableTradingUser.request("0xabc...")