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
}
]Accounts
positions
Send POST request to /info with method: “positions”
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"
}
}'
⌘I