node-dsx-api
Version:
Node api for DSX.uk crypto exchange
17 lines (16 loc) • 476 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const exchange_1 = require("./exchange");
class ExchangeDeposit extends exchange_1.Exchange {
/**
* @param id
*/
async transferStatus(id) {
const res = await this.request(this.sign("transaction/status", "dwapi", "POST", { id }));
if (res.success != 1) {
throw res;
}
return res.return;
}
}
exports.ExchangeDeposit = ExchangeDeposit;