Reference: Query Trades Info

   import { privateRestRequest } from 'ts-kraken';

privateRestRequest({
url: 'QueryTrades',
data: { trades: true, txid: 'YOUR-TRADE-ID1,YOUR-TRADE-ID2' }
}).then((tradesInfo) => {
console.log({ tradesInfo });
});

The txid field doesn't accept whitespaces in the comma-separated list of trades IDs.

Index

Type Aliases