Blocks

Get the block for the given round.

GEThttps://algo.nownodes.io/v2/blocks/{round}
Path parameters
round*integer

The round from which to fetch block information.

Query parameters
Response

Encoded block object.

Body
block*object

Block header data.

certobject

Optional certificate object. This is only included when the format is set to message pack.

Request
const response = await fetch('https://algo.nownodes.io/v2/blocks/{round}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "block": {},
  "cert": {}
}

Last updated