btcturk-js
Version:
Btcturk | Promise based API (Unofficial)
22 lines (21 loc) • 946 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Endpoint = void 0;
var Endpoint;
(function (Endpoint) {
Endpoint["BASE"] = "https://api.btcturk.com/api";
// Public Endpoints
Endpoint["TICKER"] = "v2/ticker";
Endpoint["ORDER_BOOK"] = "v2/orderbook";
Endpoint["TRADES"] = "v2/trades";
Endpoint["OHLC_DATA"] = "https://graph-api.btcturk.com/v1/ohlcs";
Endpoint["EXCHANGE_INFO"] = "v2/server/exchangeinfo";
// Private Endpoints
Endpoint["ACCOUNT_BALANCE"] = "v1/users/balances";
Endpoint["USER_TRANSACTIONS"] = "v1/users/transactions/trade";
Endpoint["CRYPTO_TRANSACTIONS"] = "v1/users/transactions/crypto";
Endpoint["FIAT_TRANSACTIONS"] = "v1/users/transactions/fiat";
Endpoint["OPEN_ORDERS"] = "v1/openOrders";
Endpoint["ALL_ORDERS"] = "v1/allOrders";
Endpoint["SUBMIT_ORDER"] = "v1/order";
})(Endpoint = exports.Endpoint || (exports.Endpoint = {}));