@hydro-protocol/hydro-client-js
Version:
Javascript SDK for the Hydro API
17 lines (16 loc) • 615 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var bignumber_js_1 = require("bignumber.js");
/**
* A representation of how much of a specific token is currently listed in all
* of the orders you have in the exchange.
*/
var LockedBalance = /** @class */ (function () {
function LockedBalance(json) {
this.symbol = json.symbol;
this.amount = json.amount ? new bignumber_js_1.BigNumber(json.amount) : new bignumber_js_1.BigNumber("0");
this.updatedAt = new Date(json.updatedAt);
}
return LockedBalance;
}());
exports.LockedBalance = LockedBalance;