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