diff --git a/src/client.ts b/src/client.ts index 2cab3ed..743c8ed 100644 --- a/src/client.ts +++ b/src/client.ts @@ -297,9 +297,11 @@ export class ClobClient { } public async getPricesHistory(params: PriceHistoryFilterParams): Promise { - return this.get(`${this.host}${GET_PRICES_HISTORY}`, { + const result = await this.get(`${this.host}${GET_PRICES_HISTORY}`, { params, }); + + return result.history; } // L1 Authed