cURL
curl --request POST \ --url https://api.hypereth.io/v1/aster/fapi/v1/positionSide/dual \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data dualSidePosition=true \ --data recvWindow=123 \ --data timestamp=123
{ "code": 123, "msg": "<string>" }
Change user’s position mode (Hedge Mode or One-way Mode)
HMAC SHA256 signature authentication for v1 endpoints
true
false
Position mode changed successfully