cSignerAction
post
/exchange
Jail or unjail self as a validator signer.
Body
Jail or unjail self as a validator signer.
actionany ofRequired
Action to perform.
or
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
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: 121
{
"action": {
"type": "CSignerAction",
"jailSelf": null
},
"nonce": 1,
"signature": {
"r": "text",
"s": "text",
"v": 27
},
"expiresAfter": 1
}{
"status": "ok",
"response": {
"type": "default"
}
}Last updated