UNPKG

zumokit

Version:

ZumoKit is a Wallet as a Service SDK

21 lines (20 loc) 762 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TransactionFeeRate = void 0; var decimal_js_1 = require("decimal.js"); /** Crypto transactions fee rates. */ var TransactionFeeRate = /** @class */ (function () { /** @internal */ function TransactionFeeRate(json) { this.json = json; this.slow = new decimal_js_1.Decimal(json.slow); this.average = new decimal_js_1.Decimal(json.average); this.fast = new decimal_js_1.Decimal(json.fast); this.slowTime = json.slowTime; this.averageTime = json.averageTime; this.fastTime = json.fastTime; this.source = json.source; } return TransactionFeeRate; }()); exports.TransactionFeeRate = TransactionFeeRate;