From fa7d7e0cecbc3af03727c2cbadaf03f2714e2afc Mon Sep 17 00:00:00 2001 From: Pranay Pratyush Date: Wed, 29 Dec 2021 18:24:43 +0530 Subject: [PATCH] Added API key info to inverse client Other APIs have duplicate implementation so adding just to inverse client --- src/inverse-client.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/inverse-client.ts b/src/inverse-client.ts index 6eb6a0b..1120ca4 100644 --- a/src/inverse-client.ts +++ b/src/inverse-client.ts @@ -386,4 +386,10 @@ export class InverseClient extends SharedEndpoints { }): GenericAPIResponse { return this.requestWrapper.get('v2/private/account/lcp', params); } + + //API Key Info + getAPIKeyInfo(): GenericAPIResponse { + return this.requestWrapper.get('v2/private/account/api-key'); + } + };