Some endpoint updates

This commit is contained in:
CryptoCompiler
2021-01-29 14:16:33 +00:00
committed by GitHub
parent ae2519f3a2
commit c41cb89b2c

View File

@@ -274,7 +274,7 @@ export class InverseClient extends SharedEndpoints {
symbol: string; symbol: string;
leverage: number; leverage: number;
}): GenericAPIResponse { }): GenericAPIResponse {
return this.requestWrapper.post('user/leverage/save', params); return this.requestWrapper.post('v2/private/position/leverage/save', params);
} }
/** /**
@@ -320,7 +320,7 @@ export class InverseClient extends SharedEndpoints {
getLastFundingRate(params: { getLastFundingRate(params: {
symbol: string; symbol: string;
}): GenericAPIResponse { }): GenericAPIResponse {
return this.requestWrapper.get('v2/private/funding/prev-funding-rate', params); return this.requestWrapper.get('v2/public/funding/prev-funding-rate', params);
} }
getMyLastFundingFee(params: { getMyLastFundingFee(params: {