/nodes/count
Returns number of all observer/validator nodes available on blockchain
Parameters
-
searchOPTIONAL(string)- Search by collection identifier -
onlineOPTIONAL(boolean)- Whether node is online or not -
typeOPTIONAL(array[string])- Filter by type (NonFungibleESDT/SemiFungibleESDT/MetaESDT) -
status:(string)- Node statusAvailable values : new, unknown, waiting, eligible, jailed, queued, leaving, inactive
-
shard:(number)- Node shard -
issues:(boolean)- Whether node has issues or not -
identity:(string)- Node identity -
provider:(string)- Node provider -
ownerOPTIONAL(string)- Filter by collection owner -
auctionedOPTIONAL(boolean)- Whether node is auctioned or not -
fullHistoryOPTIONAL(boolean)- Whether node is of type 'Full History' or not -
sortOPTIONAL(string)- Sorting criteriaAvailable values : name, version, tempRating, leaderSuccess, leaderFailure, validatorSuccess, validatorFailure, validatorIgnoredSignatures, position
-
orderOPTIONAL(string)- Sorting order (asc / desc)
Returns
count:(number)- total number of observer/validator nodes available
Example
Request
curl -X 'GET' \
'https://elrond-api.public.blastapi.io/nodes/count?online=true&type=observer&issues=false&fullHistory=true&sort=version&order=asc' \
-H 'accept: application/json'
Result
63