@fruitsjs/core
Version:
Principal package with functions and models for building Fruits Eco-Blockchain applications.
14 lines • 505 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getAccount = void 0;
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