Added queue length method

This commit is contained in:
Aleksandr Kraiz
2022-05-10 19:13:59 +04:00
parent 56456292b4
commit 7b1467f0ce
2 changed files with 5 additions and 1 deletions

View File

@@ -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);
}