Skip to main content

/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 status

    Available 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 criteria

    Available 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