Skip to main content

/blocks/count

Returns count of all blocks from all shards

Parameters

  • shard OPTIONAL (number) - Id of the shard the block belongs to
  • proposer OPTIONAL (string) - Filter by propose
  • validator OPTIONAL (string) - Filter by validator
  • epoch OPTIONAL (number) - Filter by epoch
  • nonce OPTIONAL (number) - Filter by nonce

Returns

  • number - count of all blocks from all shards

Example

Request

curl -X 'GET' \
'https://elrond-api.public.blastapi.io/blocks/count' \
-H 'accept: application/json'

Result

43560229