@signumjs/core
Version:
Principal package with functions and models for building Signum Network applications.
24 lines • 700 B
JavaScript
;
/**
* Original work Copyright (c) 2019 Burst Apps Team
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.getAccount = void 0;
/**
* Use with {@link ApiComposer} and belongs to {@link AccountApi}.
*
* See details at {@link AccountApi.getAccount}
*
* @category factories
*/
const getAccount = (service) => (args) => {
const params = {
account: args.accountId,
height: args.commitmentAtHeight,
getCommittedAmount: args.includeCommittedAmount,
estimateCommitment: args.includeEstimatedCommitment
};
return service.query('getAccount', params);
};
exports.getAccount = getAccount;
//# sourceMappingURL=getAccount.js.map