Orderly home page
latest
Search...
⌘K
Socials
Get in Touch
Get a Grant
Get a Grant
Search...
Navigation
Websocket API
PING/PONG
Home
Introduction
Build on Omnichain
NEAR
SDKs
Strategy Vault
Troubleshooting
Changelog
Getting Started
System Overview
Smart Contract Overview
Smart Contract Addresses
Partner Support
Partner Support
Integration Checklist
Integration FAQs
User Flows
Accounts
Wallet Authentication
Deposit/Withdrawal
Settle PnL
Order Management
Custom Fee Structure
Builder Staking Programme
Delegate Signer
Referral System
Algo Order Sample Requests
About APIs
Introduction
API Authentication
Error Codes
General API
Builder Info
System Info
USDC Faucet
User API
Registration
Key Management
Account/User Info
Account Notifications
Account Config
Delegate Signer
Sub-account
Trading API
Order Management
Liquidations
Assets/Withdraw/Settle PnL
Positions
Funding
Rewards API
Trading Rewards
Market Making Rewards
Staking & Valor API
Staking
Valor
Builder API
User Data
Trading Campaigns
Fee Setting
Referral Program
Market Data API
TradingView
Funding Rates
Market Info
Websocket API
Introduction
PING/PONG
Authentication
Error Response
Public Market Data
Private User Data
Request
Copy
{
"event"
:
"ping"
}
Response
Copy
{
"event"
:
"pong"
,
"ts"
:
1614667590000
}
Websocket API
PING/PONG
Request
Copy
{
"event"
:
"ping"
}
Response
Copy
{
"event"
:
"pong"
,
"ts"
:
1614667590000
}
The server will send a ping command to the client every 10 seconds. If the pong from client is not received within 10 seconds for 10 consecutive times, it will actively disconnect the client.
The client can also send ping every 10s to keep alive.
Name
Type
Required
Description
event
string
Y
ping/pong
Request
Copy
{
"event"
:
"ping"
}
Response
Copy
{
"event"
:
"pong"
,
"ts"
:
1614667590000
}
Introduction
Authentication
Assistant
Responses are generated using AI and may contain mistakes.