/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://froopyland.blockpi.network/rpc/v1/<your-api-key>/block_search?query=%22block.height%3D14122%22

// Result
{
    "jsonrpc": "2.0",
    "result": {
        "blocks": [],
        "total_count": "0"
    }
   

Last updated