Added getSymbol and getLiq from inverse

This commit is contained in:
CryptoCompiler
2021-01-22 09:56:21 +00:00
committed by GitHub
parent e99dd756a0
commit 32625e1485

View File

@@ -28,6 +28,33 @@ export default class SharedEndpoints {
return this.requestWrapper.get('v2/public/tickers', params);
}
getSymbols(): GenericAPIResponse {
return this.requestWrapper.get('v2/public/symbols');
}
/**
* @deprecated use getLiquidations() instead
*/
getPublicLiquidations(params: {
symbol: string;
from?: number;
limit?: number;
start_time?: number;
end_time?: number;
}): GenericAPIResponse {
return this.getLiquidations(params);
}
getLiquidations(params: {
symbol: string;
from?: number;
limit?: number;
start_time?: number;
end_time?: number;
}): GenericAPIResponse {
return this.requestWrapper.get('v2/public/liq-records', params);
}
//------------Wallet Data Endpoints------------>
getWalletBalance(params: {