⚡ Test Our Private Nodes of 40+ Blockchains just for $50!

coins coins coins coins
eos
EOS (EOS)

Method: POST get_block_header_state

dropdown

# get_block_header_state example for EOS (EOS)

POST get_block_header_state

Retrieves the block header state

Parameters

block_num_or_id - string

Provide a block_number or a block_id

Request

curl --location --request POST 'https://eos.getblock.io/v1/chain/get_block_header_state' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"block_num_or_id": "0fce494e5d8c655d524327efc1fe7e1cf0c9e7d6a3065fdba165a7adc44d561f"}'


Response

{
  "block_num": 265177422,
  "dpos_proposed_irreversible_blocknum": 265177261,
  "dpos_irreversible_blocknum": 265177093,
  "active_schedule": {
    "version": 2031,
    "producers": [
      {
        "producer_name": "atticlabeosb",
        "authority": [
          0,
          {
            "threshold": 1,
            "keys": [
              {
                "key": "EOS7PfA3A4UdfMu2wKbuXdbHn8EWAxbMnFoFWui4X2zsr2oPwdQJP",
                "weight": 1
              }
            ]
          }
        ]
      }
    ]
  },
  "blockroot_merkle": {
    "_active_nodes": [
      "0fce494d5e7e777a6a15f214030da499b869f9c2f7160b3e3f33ccb6a44beb8a",
      "29b25c2cce24bfb5861a15bd87dd67684dc4ea24bfa2f0a03fd027624954445e",
      "d91bdea9c0bcfde04e7e3edfeea83b2a2635e3c3089ad9cf492d435a0e45e4c6"
    ],
    "_node_count": 265177421
  },
  "producer_to_last_produced": [
    [
      "teamgreymass",
      265177357
    ],
    [
      "whaleex.com",
      265177369
    ]
  ],
  "producer_to_last_implied_irb": [
    [
      "teamgreymass",
      265177189
    ],
    [
      "whaleex.com",
      265177201
    ]
  ],
  "valid_block_signing_authority": [
    0,
    {
      "threshold": 1,
      "keys": [
        {
          "key": "EOS4tkw7LgtURT3dvG3kQ4D1sg3aAtPDymmoatpuFkQMc7wzZdKxc",
          "weight": 1
        }
      ]
    }
  ],
  "confirm_count": [
    1,
    2,
    3,
    4,
    5
  ],
  "id": "0fce494e5d8c655d524327efc1fe7e1cf0c9e7d6a3065fdba165a7adc44d561f",
  "header": {
    "timestamp": "2022-08-29T08:13:02.000",
    "producer": "bitfinexeos1",
    "confirmed": 0,
    "previous": "0fce494d5e7e777a6a15f214030da499b869f9c2f7160b3e3f33ccb6a44beb8a",
    "transaction_mroot": "e0c2bedbdfb2ece3ae861b8aa068be5019b3ac8f0b34a5e83a683655555a8b6b",
    "action_mroot": "e375d22b70612bf5abb8f71d35db87195d2cbfaaedcc9fa14ce6b511cb726ef1",
    "schedule_version": 2031,
    "header_extensions": [

    ],
    "producer_signature": "SIG_K1_KhY9fhwX1kzEwnxpU6ZG38ZRWSfVMarQDQF5DWas7RZZxiTDVsvQnQchy9YubEJQAbWzfmSG4jJ6ADfpicWST1hC6E9L3b"
  },
  "pending_schedule": {
    "schedule_lib_num": 264595260,
    "schedule_hash": "aa3627ff84a8fe419d6630c7640d1cc3f3a8308eae4de5c921886de32f7e2275",
    "schedule": {
      "version": 2031,
      "producers": [

      ]
    }
  },
  "activated_protocol_features": {
    "protocol_features": [
      "0ec7e080177b2c02b278d5088611686b49d739925a92d9bfcacd7fc6b74053bd",
      "ef43112c6543b88db2283a2e077278c315ae2c84719a8b25f25cc88565fbea99",
      "f0af56d2c5a48d60a4a5b5c903edfb7db3a736a94ed589d0b797df33ff9d3e1d"
    ]
  },
  "additional_signatures": [

  ]
}