/block

Get Block. If the height field is set to a non-default value, upon success, the Cache-Control header will be set with the default maximum age.

Parameters:

height - int, height to return. If no height is provided, it will fetch the latest block.

Example:

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

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