subAccountSpotTransfer

post
/exchange

Transfer between sub-accounts (spot).

Body

Transfer between sub-accounts (spot).

nonceintegerRequired

Unique request identifier (current timestamp in ms).

expiresAfterintegerOptional

Expiration time of the action.

Responses
200

Successful response without specific data or error response.

application/json
Responseany of

Successful response without specific data or error response.

or
post
/exchange
POST /exchange HTTP/1.1
Host: api.hyperliquid.xyz
Content-Type: application/json
Accept: */*
Content-Length: 186

{
  "action": {
    "type": "subAccountSpotTransfer",
    "subAccountUser": "text",
    "isDeposit": true,
    "token": "text",
    "amount": "text"
  },
  "nonce": 1,
  "signature": {
    "r": "text",
    "s": "text",
    "v": 27
  },
  "expiresAfter": 1
}
{
  "status": "ok",
  "response": {
    "type": "default"
  }
}

Last updated