Skip to main content
POST
/
info
curl --request POST \
  --url https://api.hotstuff.trade/info \
  --header 'Content-Type: application/json' \
  --data '{
    "method": "positions",
    "params": {
        "user": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
    }
}'
[
  {
    "user": "0x42C183edba036906447372a7c81Eb89D0B9f2175",
    "instrument_id": 1,
    "instrument": "BTC-PERP",
    "position_side": "BOTH",
    "size": "-0.00128",
    "entry_price": "76856",
    "position_value": "98.37568",
    "margin_mode": "isolated",
    "leverage": "50",
    "updated_at": 1770139417
  }
]
Retrieve current positions for the authenticated user account.
curl --request POST \
  --url https://api.hotstuff.trade/info \
  --header 'Content-Type: application/json' \
  --data '{
    "method": "positions",
    "params": {
        "user": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
    }
}'

Body

application/json
method
string
required
params
object
required

Response

Successful response

user
string
instrument_id
integer
instrument
string
position_side
string
size
string
entry_price
string
position_value
string
margin_mode
string
leverage
string
updated_at
integer