Skip to content

Get the block for the given round.

GET
/v2/blocks/{round}
round
required
integer

A round number.

header-only
boolean

If true, only the block header (exclusive of payset or certificate) may be included in response.

format
string
Allowed values: json msgpack

Configures whether the response object is JSON or MessagePack encoded. If not provided, defaults to JSON.

Encoded block object.

object
block
required

Block header data.

object
cert

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

object

Bad Request - Non integer number

An error response with optional data field.

object
data
object
message
required
string

Invalid API Token

An error response with optional data field.

object
data
object
message
required
string

None existing block

An error response with optional data field.

object
data
object
message
required
string

Internal Error

An error response with optional data field.

object
data
object
message
required
string

Unknown Error