Questions? Join our Discord.
curl --request POST \
--url https://api.hotstuff.trade/info \
--header 'Content-Type: application/json' \
--data '{
"method": "fills",
"params": {
"user": "0xxxx"
}
}'
{
"data": [
{
"instrument_id": 1,
"instrument": "BTC-PERP",
"account": "0x42C183edba036906447372a7c81Eb89D0B9f2175",
"order_id": 153907712,
"cloid": "c5aaf950-5fa5-4c02-86e6-93138eb6bc2b",
"trade_id": 4992149484947072082,
"side": "b",
"position_side": "BOTH",
"direction": "openLong",
"price": "76731",
"size": "0.00141",
"closed_pnl": "0.002163",
"start_size": "0.00141",
"start_price": "76750",
"fee": "-0.002163",
"broker_fee": "0",
"fee_token_id": 1,
"crossed": false,
"tx_hash": "0x5063c6a58dd16a292307c5ea82d2ee1763b4118cb15ad569d967942074129b27",
"fill_type": 2,
"notional_value": "108.19071",
"block_timestamp": "2026-02-03T17:14:20.046Z"
}
],
"page": 1,
"limit": 100,
"total_count": 284,
"total_pages": 3,
"has_next": true,
"has_prev": false
}
Send POST request to /info with method: “fills”
curl --request POST \
--url https://api.hotstuff.trade/info \
--header 'Content-Type: application/json' \
--data '{
"method": "fills",
"params": {
"user": "0xxxx"
}
}'
{
"data": [
{
"instrument_id": 1,
"instrument": "BTC-PERP",
"account": "0x42C183edba036906447372a7c81Eb89D0B9f2175",
"order_id": 153907712,
"cloid": "c5aaf950-5fa5-4c02-86e6-93138eb6bc2b",
"trade_id": 4992149484947072082,
"side": "b",
"position_side": "BOTH",
"direction": "openLong",
"price": "76731",
"size": "0.00141",
"closed_pnl": "0.002163",
"start_size": "0.00141",
"start_price": "76750",
"fee": "-0.002163",
"broker_fee": "0",
"fee_token_id": 1,
"crossed": false,
"tx_hash": "0x5063c6a58dd16a292307c5ea82d2ee1763b4118cb15ad569d967942074129b27",
"fill_type": 2,
"notional_value": "108.19071",
"block_timestamp": "2026-02-03T17:14:20.046Z"
}
],
"page": 1,
"limit": 100,
"total_count": 284,
"total_pages": 3,
"has_next": true,
"has_prev": false
}
curl --request POST \
--url https://api.hotstuff.trade/info \
--header 'Content-Type: application/json' \
--data '{
"method": "fills",
"params": {
"user": "0xxxx"
}
}'
{
"data": [
{
"instrument_id": 1,
"instrument": "BTC-PERP",
"account": "0x42C183edba036906447372a7c81Eb89D0B9f2175",
"order_id": 153907712,
"cloid": "c5aaf950-5fa5-4c02-86e6-93138eb6bc2b",
"trade_id": 4992149484947072082,
"side": "b",
"position_side": "BOTH",
"direction": "openLong",
"price": "76731",
"size": "0.00141",
"closed_pnl": "0.002163",
"start_size": "0.00141",
"start_price": "76750",
"fee": "-0.002163",
"broker_fee": "0",
"fee_token_id": 1,
"crossed": false,
"tx_hash": "0x5063c6a58dd16a292307c5ea82d2ee1763b4118cb15ad569d967942074129b27",
"fill_type": 2,
"notional_value": "108.19071",
"block_timestamp": "2026-02-03T17:14:20.046Z"
}
],
"page": 1,
"limit": 100,
"total_count": 284,
"total_pages": 3,
"has_next": true,
"has_prev": false
}