kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
23 lines • 1.32 kB
JavaScript
;
// Code generated by Kucoin Universal SDK Generator; DO NOT EDIT.
Object.defineProperty(exports, "__esModule", { value: true });
exports.FundingFeesAPIImpl = void 0;
const model_get_private_funding_history_resp_1 = require("./model_get_private_funding_history_resp");
const model_get_public_funding_history_resp_1 = require("./model_get_public_funding_history_resp");
const model_get_current_funding_rate_resp_1 = require("./model_get_current_funding_rate_resp");
class FundingFeesAPIImpl {
constructor(transport) {
this.transport = transport;
}
getCurrentFundingRate(req) {
return this.transport.call('futures', false, 'GET', '/api/v1/funding-rate/{symbol}/current', req, model_get_current_funding_rate_resp_1.GetCurrentFundingRateResp, false);
}
getPublicFundingHistory(req) {
return this.transport.call('futures', false, 'GET', '/api/v1/contract/funding-rates', req, model_get_public_funding_history_resp_1.GetPublicFundingHistoryResp, false);
}
getPrivateFundingHistory(req) {
return this.transport.call('futures', false, 'GET', '/api/v1/funding-history', req, model_get_private_funding_history_resp_1.GetPrivateFundingHistoryResp, false);
}
}
exports.FundingFeesAPIImpl = FundingFeesAPIImpl;
//# sourceMappingURL=api_funding_fees.js.map