Reference: Balances
import { getPrivateSubscription } from 'ts-kraken'; getPrivateSubscription({ channel: 'balances', params: { snapshot: true } }).then(balancesObservable$ => { balancesObservable$.subscribe(({ data: balancesData }) => { console.log({ balancesData }); }); }); Copy
import { getPrivateSubscription } from 'ts-kraken'; getPrivateSubscription({ channel: 'balances', params: { snapshot: true } }).then(balancesObservable$ => { balancesObservable$.subscribe(({ data: balancesData }) => { console.log({ balancesData }); }); });
Reference: Balances
Example