/blockchain

Get block headers for minHeight <= height <= maxHeight. At most 20 items will be returned. Upon success, the Cache-Control header will be set with the default maximum age.

Parameters:

minHeight - int, Minimum block height to return

maxHeight- int, Maximumblock height to return

Example:

// Request
curl -X GET -H 'Content-Type: application/json'  https://zetachain.blockpi.network/rpc/v1/<your-api-key>/blockchain

// Result
{
    "jsonrpc": "2.0",
    "id": -1,
    "result": {
        "last_height": "2115614",