curl --request POST \
--url https://api.hotstuff.trade/info \
--header 'Content-Type: application/json' \
--data '{
"method": "mids",
"params": {
"symbol": "all"
}
}'
[
{
"symbol": "BTC-PERP",
"mid_price": "115302"
},
{
"symbol": "ETH-PERP",
"mid_price": "4179.5"
}
]Global
mids
Send POST request to /info with method: “mids”
POST
/
info
curl --request POST \
--url https://api.hotstuff.trade/info \
--header 'Content-Type: application/json' \
--data '{
"method": "mids",
"params": {
"symbol": "all"
}
}'
[
{
"symbol": "BTC-PERP",
"mid_price": "115302"
},
{
"symbol": "ETH-PERP",
"mid_price": "4179.5"
}
]Retrieve mid prices for trading instruments (average of bid and ask).
curl --request POST \
--url https://api.hotstuff.trade/info \
--header 'Content-Type: application/json' \
--data '{
"method": "mids",
"params": {
"symbol": "all"
}
}'
⌘I