View Source Hyperliquid.Api.Exchange.SetDisplayName (hyperliquid v0.2.2)
Set display name for user account.
See: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint
Usage
{:ok, result} = SetDisplayName.request(private_key, "MyTrader")
Summary
Functions
Returns metadata about this endpoint.
Execute the exchange action.
Execute the exchange action (bang variant).
Functions
Returns metadata about this endpoint.
Execute the exchange action.
Parameters
param- Parameter passed to build_action/1opts- Options (private_key, vault_address, etc.)
Options
:private_key- Private key for signing (falls back to config):vault_address- Vault address for vault operations
Breaking Change (v0.2.0)
private_key was previously the first positional argument. It is now
an option in the opts keyword list (:private_key).
Execute the exchange action (bang variant).
Same as request/2 but raises on error.