lisk-framework
Version:
Lisk blockchain application platform
21 lines • 598 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.FeeEndpoint = void 0;
const base_endpoint_1 = require("../base_endpoint");
class FeeEndpoint extends base_endpoint_1.BaseEndpoint {
init(config) {
this._config = config;
}
async getFeeTokenID(_ctx) {
return {
tokenID: this._config.feeTokenID.toString('hex'),
};
}
async getMinFeePerByte(_ctx) {
return {
minFeePerByte: this._config.minFeePerByte,
};
}
}
exports.FeeEndpoint = FeeEndpoint;
//# sourceMappingURL=endpoint.js.map
;