diff --git a/src/rest/info.ts b/src/rest/info.ts index ffde5f7..3f8080b 100644 --- a/src/rest/info.ts +++ b/src/rest/info.ts @@ -125,9 +125,9 @@ export class InfoAPI { return this.generalAPI.getOrderStatus(user, oid, rawResponse); } - async getL2Book(coin: string, rawResponse: boolean = false): Promise { + async getL2Book(coin: string, rawResponse: boolean = false, nSigFigs: number = 5, mantissa: number = undefined): Promise { await this.parent.ensureInitialized(); - return this.generalAPI.getL2Book(coin, rawResponse); + return this.generalAPI.getL2Book(coin, rawResponse, nSigFigs, mantissa); } async getCandleSnapshot(