Some endpoint updates
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user