mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-14 06:02:36 +03:00
Added queue length method
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user