Approve agent
Hyperliquid node API
approveAgent | Hyperliquid exchange
Approves an agent address to trade on behalf of the user. Agents can place and cancel orders but cannot withdraw funds. On Hyperliquid exchange.
POST
Approve agent
Documentation Index
Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
Use this file to discover all available pages before exploring further.
You can only use this endpoint on the official Hyperliquid public API. It is not available through Chainstack, as the open-source node implementation does not support it yet. See Hyperliquid methods for the full availability breakdown.
This endpoint requires signature authentication. See our comprehensive Authentication via Signatures guide for implementation details.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
Required parameters
action(object, required) — The action object containing:type(string) — Must be"approveAgent"hyperliquidChain(string) — Chain identifieragentAddress(string) — Agent wallet address to approveagentName(string) — Human-readable agent name (optional)nonce(integer) — Unique nonce for the approval
nonce(number, required) — Current timestamp in milliseconds (must be recent)signature(object, required) — EIP-712 signature of the action
Optional parameters
vaultAddress(string, optional) — Address when trading on behalf of a vault or subaccount
Returns
Returns an object with the action status:status—"ok"if request processedresponse— Contains action result data
Example request
cURL
Use case
- Approve agent — Approves an agent address to trade on behalf of the user. Agents can place and cancel orders but cannot withdraw funds.
Body
application/json
Last modified on May 18, 2026