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 }); }); Copy
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.
txid
Reference: Query Trades Info
Example
Remarks
The
txid
field doesn't accept whitespaces in the comma-separated list of trades IDs.