diff --git a/package.json b/package.json index edf00cd..ef89bbd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@orionprotocol/sdk", - "version": "0.5.0", + "version": "0.5.1", "description": "Orion Protocol SDK", "main": "./lib/esm/index.js", "module": "./lib/esm/index.js", diff --git a/src/services/OrionBlockchain/index.ts b/src/services/OrionBlockchain/index.ts index 9fa0b82..a4d39b7 100644 --- a/src/services/OrionBlockchain/index.ts +++ b/src/services/OrionBlockchain/index.ts @@ -190,6 +190,10 @@ class OrionBlockchain { ); } + getQueueLength() { + return fetchWithValidation(`https://${this.apiUrl}/api/queueLength`, z.number().int()); + } + getIDOInfo() { return fetchWithValidation(`https://${this.apiUrl}/api/solarflare`, IDOSchema); }