AsterAster REST API
Change Position Mode
Change user's position mode (Hedge Mode or One-way Mode)
Authorization
HmacSha256 AuthorizationBearer <token>
HMAC SHA256 signature authentication for v1 endpoints
In: header
Request Body
application/x-www-form-urlencoded
dualSidePosition*enum<string>required
Available options:
truefalserecvWindow?integer
timestamp*integerrequired
Response Body
application/json
curl -X POST "https://api.hypereth.io/v1/aster/fapi/v1/positionSide/dual" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'dualSidePosition=true'{
"code": 0,
"msg": "string"
}