/block_by_hash

Get Block By Hash.

Parameters:

hash- string, block hash

Example:

// Request
curl -X GET -H 'Content-Type: application/json'  https://zetachain.blockpi.network/rpc/v1/<your-api-key>/block_by_hash?hash=0x9DFF465BE04752B7685A6AF50C9BD5681985AC6AE8763AA0F4D377633248DD46

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