EarnBIT
CtrlK
  • Exchange API Documentation
    • Public endpoints | HTTP
      • Pairs List
      • Pairs Stats
      • Specific Pair Stats
      • Order Book Data
      • Market History
      • Market History Data
      • Products
      • Symbols
      • Depth List
      • Chart Data KLine
    • Private endpoints | HTTP
      • Authentication and API Keys
      • Create Limit Order
      • Cancel Order
      • My Active Orders
      • All My Trade Balances
      • My Specific Trade Balance
      • My Order Info
      • My Trades Info
      • My Order History
      • My Order History List
    • Basic structure | WEBSOKET
    • Public methods | WEBSOKET
      • Ping-Pong
      • System Time
      • KLine methods
      • Market Price methods
      • Market Status methods
      • Deals methods
      • Depth methods
    • Private methods | WEBSOKET
      • Authorization
      • My Assets methods
      • My Orders methods
Powered by GitBook
On this page
  1. Exchange API Documentation
  2. Public methods | WEBSOKET

Ping-Pong

This method is used to check that websockets are working properly.

Method

server.ping

Request example

{
  "method":"server.ping",
  "params":[],
  "id":1}
}

Response "result" parameters

Name
Type
Desciption

pong

STRING

"pong" is responded when websockets work properly

Response example

{
    "id": 1,
    "params": [],
    "result": "pong",     
    "error": null
}
PreviousPublic methods | WEBSOKETNextSystem Time