Sub-account spot transfer
Hyperliquid node API
subAccountSpotTransfer | Hyperliquid exchange
Transfers spot tokens between the main account and a sub-account. Available on Hyperliquid exchange via Chainstack JSON-RPC nodes.
POST
Sub-account spot transfer
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"subAccountSpotTransfer"subAccountUser(string) — Sub-account addressisDeposit(boolean) — True to deposit into sub-account, false to withdrawtoken(string) — Token to transferamount(string) — Amount to transfer
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
- Sub-account spot transfer — Transfers spot tokens between the main account and a sub-account.
Body
application/json
Last modified on May 18, 2026