# Hotstuff Docs ## Docs - [Welcome to Hotstuff](https://docs.hotstuff.trade/hotstuff-docs/about/welcome-to-hotstuff.md) - [Overview](https://docs.hotstuff.trade/hotstuff-docs/trading/overview.md) - [Contract Specifications](https://docs.hotstuff.trade/hotstuff-docs/trading/contract-specifications.md) - [Index Price](https://docs.hotstuff.trade/hotstuff-docs/trading/index-price.md) - [Mark Price](https://docs.hotstuff.trade/hotstuff-docs/trading/mark-price.md) - [Order Types](https://docs.hotstuff.trade/hotstuff-docs/trading/order-types.md) - [Margin & Leverage](https://docs.hotstuff.trade/hotstuff-docs/trading/margin-&-leverage.md) - [Funding Rates](https://docs.hotstuff.trade/hotstuff-docs/trading/funding-rates.md) - [Liquidations](https://docs.hotstuff.trade/hotstuff-docs/trading/liquidations.md) - [Fees](https://docs.hotstuff.trade/hotstuff-docs/trading/fees.md) - [Spot Trading](https://docs.hotstuff.trade/hotstuff-docs/trading/spot-trading.md) - [Deposits & Withdrawals](https://docs.hotstuff.trade/hotstuff-docs/trading/deposits-&-withdrawals.md) - [Points Program](https://docs.hotstuff.trade/hotstuff-docs/programs/points.md) - [Referral Program](https://docs.hotstuff.trade/hotstuff-docs/programs/referral.md) - [Affiliate Program](https://docs.hotstuff.trade/hotstuff-docs/programs/affiliate.md) - [Builder Program](https://docs.hotstuff.trade/hotstuff-docs/programs/builders.md) - [Creator Program](https://docs.hotstuff.trade/hotstuff-docs/programs/creators.md) - [@tradehotstuff](https://docs.hotstuff.trade/hotstuff-docs/external/x.md) - [Discord](https://docs.hotstuff.trade/hotstuff-docs/external/discord.md) - [Blog](https://docs.hotstuff.trade/hotstuff-docs/external/blog.md) - [Feedback](https://docs.hotstuff.trade/hotstuff-docs/external/feedback.md) - [API Introduction](https://docs.hotstuff.trade/api-reference/getting-started/introduction.md): Reference for the Hotstuff API - [Client SDKs](https://docs.hotstuff.trade/api-reference/getting-started/sdks.md) - [Rate Limits](https://docs.hotstuff.trade/api-reference/getting-started/rate-limits.md): We enforce rate limits on both REST API and WebSocket usage. - [Signing Actions](https://docs.hotstuff.trade/api-reference/getting-started/signing.md) - [Nonce Management](https://docs.hotstuff.trade/api-reference/getting-started/nonce-management.md) - [Builder codes](https://docs.hotstuff.trade/api-reference/getting-started/builders.md) - [instruments](https://docs.hotstuff.trade/api-reference/info/global/instruments.md): Send POST request to /info with method: "instruments" - [ticker](https://docs.hotstuff.trade/api-reference/info/global/ticker.md): Send POST request to /info with method: "ticker" - [orderbook](https://docs.hotstuff.trade/api-reference/info/global/orderbook.md): Send POST request to /info with method: "orderbook" - [trades](https://docs.hotstuff.trade/api-reference/info/global/trades.md): Send POST request to /info with method: "trades" - [mids](https://docs.hotstuff.trade/api-reference/info/global/mids.md): Send POST request to /info with method: "mids" - [bbo](https://docs.hotstuff.trade/api-reference/info/global/bbo.md): Send POST request to /info with method: "bbo" - [chart](https://docs.hotstuff.trade/api-reference/info/global/chart.md): Send POST request to /info with method: "chart" - [supported_collateral](https://docs.hotstuff.trade/api-reference/info/global/supported-collateral.md): Send POST request to /info with method: "supported_collateral" - [oracle](https://docs.hotstuff.trade/api-reference/info/global/oracle.md): Send POST request to /info with method: "oracle" - [account_history](https://docs.hotstuff.trade/api-reference/info/accounts/account-history.md): Send POST request to /info with method: "account_history" - [account_info](https://docs.hotstuff.trade/api-reference/info/accounts/account-info.md): Send POST request to /info with method: "account_info" - [account_summary](https://docs.hotstuff.trade/api-reference/info/accounts/account-summary.md): Send POST request to /info with method: "account_summary" - [all_agents](https://docs.hotstuff.trade/api-reference/info/accounts/agent-wallet.md): Send POST request to /info with method: "all_agents" - [brokers_check](https://docs.hotstuff.trade/api-reference/info/accounts/brokers-check.md): Send POST request to /info with method: "brokers_check" - [fills](https://docs.hotstuff.trade/api-reference/info/accounts/fills.md): Send POST request to /info with method: "fills" - [funding_history](https://docs.hotstuff.trade/api-reference/info/accounts/funding-history.md): Send POST request to /info with method: "funding_history" - [instrument_leverage](https://docs.hotstuff.trade/api-reference/info/accounts/instrument-leverage.md): Send POST request to /info with method: "instrument_leverage" - [open_orders](https://docs.hotstuff.trade/api-reference/info/accounts/open-orders.md): Send POST request to /info with method: "open_orders" - [order_history](https://docs.hotstuff.trade/api-reference/info/accounts/order-history.md): Send POST request to /info with method: "order_history" - [positions](https://docs.hotstuff.trade/api-reference/info/accounts/positions.md): Send POST request to /info with method: "positions" - [referral_summary](https://docs.hotstuff.trade/api-reference/info/accounts/referral-summary.md): Send POST request to /info with method: "referral_summary" - [transfer_history](https://docs.hotstuff.trade/api-reference/info/accounts/transfer-history.md): Send POST request to /info with method: "transfer_history" - [user_fees](https://docs.hotstuff.trade/api-reference/info/accounts/user-fees.md): Send POST request to /info with method: "user_fees" - [Blocks](https://docs.hotstuff.trade/api-reference/info/explorer/blocks.md): Send POST request to /explorer with method: "blocks" - [Block](https://docs.hotstuff.trade/api-reference/info/explorer/block.md): Send POST request to /explorer with method: "block" - [Transactions](https://docs.hotstuff.trade/api-reference/info/explorer/transactions.md): Send POST request to /explorer with method: "transactions" - [Transaction](https://docs.hotstuff.trade/api-reference/info/explorer/transaction.md): Send POST request to /explorer with method: "transaction" - [Cancel All Orders](https://docs.hotstuff.trade/api-reference/exchange/trading/cancel-all.md): Send POST request to /exchange, or use the ExchangeClient SDKs. - [Cancel Orders by Order ID](https://docs.hotstuff.trade/api-reference/exchange/trading/cancel-by-oid.md): Send POST request to /exchange, or use the ExchangeClient SDKs. - [Cancel Orders by Client Order ID](https://docs.hotstuff.trade/api-reference/exchange/trading/cancel-by-cloid.md): Send POST request to /exchange, or use the ExchangeClient SDKs. - [Cancel Orders by Instrument](https://docs.hotstuff.trade/api-reference/exchange/trading/cancel-by-instrument.md): Send POST request to /exchange, or use the ExchangeClient SDKs. - [Place Order](https://docs.hotstuff.trade/api-reference/exchange/trading/place-order.md): Send POST request to /exchange, or use the ExchangeClient SDKs. - [Add Agent](https://docs.hotstuff.trade/api-reference/exchange/accounts/add-agent.md): Send POST request to /exchange, or use the ExchangeClient SDKs. - [Revoke Agent](https://docs.hotstuff.trade/api-reference/exchange/accounts/revoke-agent.md): Send POST request to /exchange, or use the ExchangeClient SDKs. - [Update Perp Instrument Leverage](https://docs.hotstuff.trade/api-reference/exchange/accounts/update-perp-instrument-leverage.md): Send POST request to /exchange, or use the ExchangeClient SDKs. - [Approve Broker Fee](https://docs.hotstuff.trade/api-reference/exchange/accounts/approve-broker-fee.md): Send POST request to /exchange, or use the ExchangeClient SDKs. - [Create Referral Code](https://docs.hotstuff.trade/api-reference/exchange/accounts/create-referral-code.md): Send POST request to /exchange, or use the ExchangeClient SDKs. - [Set Referrer](https://docs.hotstuff.trade/api-reference/exchange/accounts/set-referrer.md): Send POST request to /exchange, or use the ExchangeClient SDKs. - [Claim Referral Rewards](https://docs.hotstuff.trade/api-reference/exchange/accounts/claim-referral-rewards.md): Send POST request to /exchange, or use the ExchangeClient SDKs. - [Spot Collateral Withdraw Request](https://docs.hotstuff.trade/api-reference/exchange/collateral-transfers/spot-withdraw.md): Send POST request to /exchange, or use the ExchangeClient SDKs. - [Derivative Collateral Withdraw Request](https://docs.hotstuff.trade/api-reference/exchange/collateral-transfers/derivative-withdraw.md): Send POST request to /exchange, or use the ExchangeClient SDKs. - [Spot Balance Transfer Request](https://docs.hotstuff.trade/api-reference/exchange/collateral-transfers/spot-balance-transfer.md): Send POST request to /exchange, or use the ExchangeClient SDKs. - [Derivative Balance Transfer Request](https://docs.hotstuff.trade/api-reference/exchange/collateral-transfers/derivative-balance-transfer.md): Send POST request to /exchange, or use the ExchangeClient SDKs. - [Internal Balance Transfer Request](https://docs.hotstuff.trade/api-reference/exchange/collateral-transfers/internal-balance-transfer.md): Send POST request to /exchange, or use the ExchangeClient SDKs. - [Deposit to Vault](https://docs.hotstuff.trade/api-reference/exchange/vaults/deposit-to-vault.md): Send POST request to /exchange, or use the ExchangeClient SDKs. - [Redeem from Vault](https://docs.hotstuff.trade/api-reference/exchange/vaults/redeem-from-vault.md): Send POST request to /exchange, or use the ExchangeClient SDKs. - [Introduction](https://docs.hotstuff.trade/wss/getting-started/introduction.md): WebSocket connection setup, limits, and error handling. - [Timeout & Heartbeats](https://docs.hotstuff.trade/wss/getting-started/timeout-and-heartbeats.md) - [Info Requests](https://docs.hotstuff.trade/wss/info-exchnage-requests/info-requests.md) - [Action Requests](https://docs.hotstuff.trade/wss/info-exchnage-requests/action-requests.md) - [ticker](https://docs.hotstuff.trade/wss/global/ticker.md) - [orderbook](https://docs.hotstuff.trade/wss/global/orderbook.md) - [trades](https://docs.hotstuff.trade/wss/global/trades.md) - [chart](https://docs.hotstuff.trade/wss/global/chart.md) - [mids](https://docs.hotstuff.trade/wss/global/mids.md) - [bbo](https://docs.hotstuff.trade/wss/global/bbo.md) - [explorer](https://docs.hotstuff.trade/wss/global/explorer.md) - [account_summary](https://docs.hotstuff.trade/wss/accounts/account-summary.md) - [positions](https://docs.hotstuff.trade/wss/accounts/positions.md) - [fills](https://docs.hotstuff.trade/wss/accounts/fills.md) - [orders](https://docs.hotstuff.trade/wss/accounts/orders.md) - [funding](https://docs.hotstuff.trade/wss/accounts/funding.md) ## OpenAPI Specs - [trades](https://docs.hotstuff.trade/openapi/info/global/trades.json) - [ticker](https://docs.hotstuff.trade/openapi/info/global/ticker.json) - [supported-collateral](https://docs.hotstuff.trade/openapi/info/global/supported-collateral.json) - [orderbook](https://docs.hotstuff.trade/openapi/info/global/orderbook.json) - [oracle](https://docs.hotstuff.trade/openapi/info/global/oracle.json) - [mids](https://docs.hotstuff.trade/openapi/info/global/mids.json) - [instruments](https://docs.hotstuff.trade/openapi/info/global/instruments.json) - [chart](https://docs.hotstuff.trade/openapi/info/global/chart.json) - [bbo](https://docs.hotstuff.trade/openapi/info/global/bbo.json) - [transactions](https://docs.hotstuff.trade/openapi/info/explorer/transactions.json) - [transaction](https://docs.hotstuff.trade/openapi/info/explorer/transaction.json) - [blocks](https://docs.hotstuff.trade/openapi/info/explorer/blocks.json) - [block](https://docs.hotstuff.trade/openapi/info/explorer/block.json) - [user-fees](https://docs.hotstuff.trade/openapi/info/accounts/user-fees.json) - [transfer-history](https://docs.hotstuff.trade/openapi/info/accounts/transfer-history.json) - [referral-summary](https://docs.hotstuff.trade/openapi/info/accounts/referral-summary.json) - [positions](https://docs.hotstuff.trade/openapi/info/accounts/positions.json) - [order-history](https://docs.hotstuff.trade/openapi/info/accounts/order-history.json) - [open-orders](https://docs.hotstuff.trade/openapi/info/accounts/open-orders.json) - [instrument-leverage](https://docs.hotstuff.trade/openapi/info/accounts/instrument-leverage.json) - [funding-history](https://docs.hotstuff.trade/openapi/info/accounts/funding-history.json) - [fills](https://docs.hotstuff.trade/openapi/info/accounts/fills.json) - [brokers-check](https://docs.hotstuff.trade/openapi/info/accounts/brokers-check.json) - [agent-wallet](https://docs.hotstuff.trade/openapi/info/accounts/agent-wallet.json) - [account-summary](https://docs.hotstuff.trade/openapi/info/accounts/account-summary.json) - [account-info](https://docs.hotstuff.trade/openapi/info/accounts/account-info.json) - [account-history](https://docs.hotstuff.trade/openapi/info/accounts/account-history.json) - [redeem-from-vault](https://docs.hotstuff.trade/openapi/exchange/vaults/redeem-from-vault.json) - [deposit-to-vault](https://docs.hotstuff.trade/openapi/exchange/vaults/deposit-to-vault.json) - [place-order](https://docs.hotstuff.trade/openapi/exchange/trading/place-order.json) - [cancel-by-oid](https://docs.hotstuff.trade/openapi/exchange/trading/cancel-by-oid.json) - [cancel-by-instrument](https://docs.hotstuff.trade/openapi/exchange/trading/cancel-by-instrument.json) - [cancel-by-cloid](https://docs.hotstuff.trade/openapi/exchange/trading/cancel-by-cloid.json) - [cancel-all](https://docs.hotstuff.trade/openapi/exchange/trading/cancel-all.json) - [spot-withdraw](https://docs.hotstuff.trade/openapi/exchange/collateral-transfers/spot-withdraw.json) - [spot-balance-transfer](https://docs.hotstuff.trade/openapi/exchange/collateral-transfers/spot-balance-transfer.json) - [internal-balance-transfer](https://docs.hotstuff.trade/openapi/exchange/collateral-transfers/internal-balance-transfer.json) - [derivative-withdraw](https://docs.hotstuff.trade/openapi/exchange/collateral-transfers/derivative-withdraw.json) - [derivative-balance-transfer](https://docs.hotstuff.trade/openapi/exchange/collateral-transfers/derivative-balance-transfer.json) - [update-perp-instrument-leverage](https://docs.hotstuff.trade/openapi/exchange/accounts/update-perp-instrument-leverage.json) - [set-referrer](https://docs.hotstuff.trade/openapi/exchange/accounts/set-referrer.json) - [revoke-agent](https://docs.hotstuff.trade/openapi/exchange/accounts/revoke-agent.json) - [create-referral-code](https://docs.hotstuff.trade/openapi/exchange/accounts/create-referral-code.json) - [claim-referral-rewards](https://docs.hotstuff.trade/openapi/exchange/accounts/claim-referral-rewards.json) - [approve-broker-fee](https://docs.hotstuff.trade/openapi/exchange/accounts/approve-broker-fee.json) - [add-agent](https://docs.hotstuff.trade/openapi/exchange/accounts/add-agent.json) ## AsyncAPI Specs - [ws-subscriptions](https://docs.hotstuff.trade/asyncapi/ws-subscriptions.json) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.