/block_search
Search for blocks by BeginBlock and EndBlock events. See /subscribe for the query syntax.
Parameters:
query - string, Query
Example:
// Request
curl -X GET -H 'Content-Type: application/json' https://zetachain.blockpi.network/rpc/v1/<your-api-key>/block_search?query=%22block.height%3D2115661%22
// Result
{
"jsonrpc": "2.0",
"id": -1,
"result": {
"blocks": [],
"total_count": "0"
}
}
Last updated
Was this helpful?