@signumjs/core
Version:
Principal package with functions and models for building Signum Network applications.
24 lines • 857 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getAccountTransactionsFromSenderToRecipient = void 0;
/**
* Use with {@link ApiComposer} and belongs to {@link AccountApi}.
*
*
* See details at {@link AccountApi.getAccountTransactionsFromSenderToRecipient}
*
* @category factories
*/
const getAccountTransactionsFromSenderToRecipient = (service) => async (args) => {
const parameters = {
...args,
sender: args.senderId,
recipient: args.recipientId,
bidirectional: false
};
delete parameters.senderId;
delete parameters.recipientId;
return service.query('getAccountTransactions', parameters);
};
exports.getAccountTransactionsFromSenderToRecipient = getAccountTransactionsFromSenderToRecipient;
//# sourceMappingURL=getAccountTransactionsFromSenderToRecipient.js.map