/nodes/count
Returns number of all observer/validator nodes available on blockchain
Parameters
-
search
OPTIONAL(string)
- Search by collection identifier -
online
OPTIONAL(boolean)
- Whether node is online or not -
type
OPTIONAL(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 -
owner
OPTIONAL(string)
- Filter by collection owner -
auctioned
OPTIONAL(boolean)
- Whether node is auctioned or not -
fullHistory
OPTIONAL(boolean)
- Whether node is of type 'Full History' or not -
sort
OPTIONAL(string)
- Sorting criteriaAvailable values : name, version, tempRating, leaderSuccess, leaderFailure, validatorSuccess, validatorFailure, validatorIgnoredSignatures, position
-
order
OPTIONAL(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