createVault
post
/exchange
Create a vault.
Body
Create a vault.
nonceintegerRequired
Unique request identifier (current timestamp in ms).
expiresAfterintegerOptional
Expiration time of the action.
Responses
200
Response for creating a vault.
application/json
Responseany of
Response for creating a vault.
or
422
Failed to deserialize the JSON body into the target type
text/plain
post
/exchangePOST /exchange HTTP/1.1
Host: api.hyperliquid.xyz
Content-Type: application/json
Accept: */*
Content-Length: 163
{
"action": {
"type": "createVault",
"name": "text",
"description": "text",
"initialUsd": 1,
"nonce": 1
},
"nonce": 1,
"signature": {
"r": "text",
"s": "text",
"v": 27
},
"expiresAfter": 1
}{
"status": "ok",
"response": {
"type": "createVault",
"data": "text"
}
}Last updated