UNPKG

@signumjs/core

Version:

Principal package with functions and models for building Signum Network applications.

24 lines 880 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getAccountTransactionsBetweenSenderAndRecipient = void 0; /** * Use with {@link ApiComposer} and belongs to {@link AccountApi}. * * * See details at {@link AccountApi.getAccountTransactionsBetweenSenderAndRecipient} * * @category factories */ const getAccountTransactionsBetweenSenderAndRecipient = (service) => async (args) => { const parameters = { ...args, sender: args.senderId, recipient: args.recipientId, bidirectional: true }; delete parameters.senderId; delete parameters.recipientId; return service.query('getAccountTransactions', parameters); }; exports.getAccountTransactionsBetweenSenderAndRecipient = getAccountTransactionsBetweenSenderAndRecipient; //# sourceMappingURL=getAccountTransactionsBetweenSenderAndRecipient.js.map