Block search

Search for blocks by BeginBlock and EndBlock events.

See /subscribe for the query syntax.

GEThttps://tia.nownodes.io/block_search
Query parameters
Response

Error

Body
idinteger
Example: 0
jsonrpcstring
Example: "2.0"
errorstring
Example: "Description of failure"
Request
const response = await fetch('https://tia.nownodes.io/block_search?query=block.height+%3E+1000+AND+valset.changed+%3E+0', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "id": 0,
  "jsonrpc": "2.0",
  "error": "Description of failure"
}