Reference: Query Ledgers
import { privateRestRequest } from 'ts-kraken'; privateRestRequest({ url: 'QueryLedgers', data: { id: 'YOUR-LEDGER-ID1,YOUR-LEDGER-ID2' } }).then((ledgersData) => { console.log(ledgersData); }); Copy
import { privateRestRequest } from 'ts-kraken'; privateRestRequest({ url: 'QueryLedgers', data: { id: 'YOUR-LEDGER-ID1,YOUR-LEDGER-ID2' } }).then((ledgersData) => { console.log(ledgersData); });
Reference: Query Ledgers
Example