v3.7.2: fix() response type for v5 open interest endpoint

This commit is contained in:
tiagosiebler
2023-08-18 15:17:49 +01:00
parent f8be8a6279
commit 9bc1ff89c6
3 changed files with 7 additions and 4 deletions

View File

@@ -219,7 +219,10 @@ export interface PublicTradeV5 {
* - openInterest string Open interest
* - timestamp string The timestamp (ms)
*/
export type OpenInterestV5 = [string, string];
export type OpenInterestV5 = {
openInterest: string;
timestamp: string;
};
export interface OpenInterestResponseV5 {
category: 'linear' | 'inverse';