Invalid blocks

get

Lists blocks that have been declared invalid along with the errors that led to them being declared invalid.

Path parameters
chain_idstringRequired

A chain identifier. This is either a chain hash in Base58Check notation or a one the predefined aliases: 'main', 'test'.

Responses
200Success
application/json
get
GET /chains/{chain_id}/invalid_blocks HTTP/1.1
Host: xtz.nownodes.io
Accept: */*
[
  {
    "block": "text",
    "level": 1,
    "errors": null
  }
]
get

The errors that appears during the block (in)validation.

Path parameters
chain_idstringRequired

A chain identifier. This is either a chain hash in Base58Check notation or a one the predefined aliases: 'main', 'test'.

block_hashstringRequired

block_hash (Base58Check-encoded)

Responses
200Success
application/json
get
GET /chains/{chain_id}/invalid_blocks/{block_hash} HTTP/1.1
Host: xtz.nownodes.io
Accept: */*
{
  "block": "text",
  "level": 1,
  "errors": null
}
delete

Remove an invalid block for the tezos storage

Path parameters
chain_idstringRequired

A chain identifier. This is either a chain hash in Base58Check notation or a one the predefined aliases: 'main', 'test'.

block_hashstringRequired

block_hash (Base58Check-encoded)

Responses
200Success
application/json
Responseobject
delete
DELETE /chains/{chain_id}/invalid_blocks/{block_hash} HTTP/1.1
Host: xtz.nownodes.io
Accept: */*
{}