Defx Docs
Go to WebsiteTrade on Defx
  • About Defx
  • Defx Platform Overview
    • Self-Custodial
    • Central-Limit Order Book (CLOB)
    • APIs & Webhooks
  • Defx Product Docs
    • Orders
    • Margin
    • Liquidation
    • Insurance Fund
    • Auto-Deleveraging
    • Just-in-Time (JIT) Funding
    • Self Trade Prevention
    • Price Oracle
    • Fees
    • Multi-Asset Mode
      • Collateralization & Liquidation Ratios
      • Liquidation in Multi-Asset Mode
    • Glossary
  • Defx Smart Contracts
  • Contract Specifications
  • Defx Developer Hub
    • REST APIs Documentation
      • REST API Postman Collection
    • WebSocket Documentation
      • User Data Streams (Closed Socket)
      • MarketFeed Streams (Open Socket)
  • Referrals
  • Points
  • Using our Testnet
  • Audits
  • Risks
  • Restricted Territories
  • Terms & Conditions
  • Features
    • Trade Smarter: How Defx's Multi-Asset Collateral System Transforms Crypto Trading
    • sUSDe support
Powered by GitBook
On this page
  1. Defx Developer Hub

WebSocket Documentation

Overview

Defx offers websockets for consuming streaming market and user data streams. While the market streams websocket is open, consuming the user data streams would require you to authenticate.

All our WebSockets expect a keep-alive ping-pong frame. Usually you dont have to do anything since all modern WebSocket libraries do this automatically.

PreviousREST APIs DocumentationNextReferrals

Last updated 11 months ago

Page cover image