userDexAbstraction
post
/exchange
Enable/disable HIP-3 DEX abstraction.
Body
Enable/disable HIP-3 DEX abstraction.
nonceintegerRequired
Unique request identifier (current timestamp in ms).
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: 187
{
"action": {
"type": "userDexAbstraction",
"signatureChainId": "text",
"hyperliquidChain": "Mainnet",
"user": "text",
"enabled": true,
"nonce": 1
},
"nonce": 1,
"signature": {
"r": "text",
"s": "text",
"v": 27
}
}{
"status": "ok",
"response": {
"type": "default"
}
}Last updated