Reference: Ping
import { publicWsRequest } from 'ts-kraken'; publicWsRequest({ method: 'ping', req_id: 42 }) .then(({ method, req_id, time_in, time_out }) => { console.log({ method, req_id, time_in, time_out }); }); Copy
import { publicWsRequest } from 'ts-kraken'; publicWsRequest({ method: 'ping', req_id: 42 }) .then(({ method, req_id, time_in, time_out }) => { console.log({ method, req_id, time_in, time_out }); });
Reference: Ping
Example