Home

Retrieve a block

GET
https://vet.nownodes.io/blocks/{revision}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Retrieve information about a block identified by its revision.

If the provided revision is not found, the response will be null

Parameters

revisionstringrequiredpath

Revision can be one of:

  • a block ID (hex string)
  • a block number (integer)
  • best stands for latest block
  • finalized stands for the finalized block
expandedbooleanquery

Whether the returned block is expanded.

  • true returns transactions as an array of objects with the transaction details and outputs
  • false returns transactions as an array of transaction IDs (hex strings)

Response

200OK

OK

400Bad Request

Bad Request