Subscribing to the block updates provides real-time data on newly created blocks.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "block_updates.subscribe",
  "params": {}
}

Events

{
    "jsonrpc": "2.0",
    "method": "block_updates.event",
    "params": {
        "data": {
            "base_fee_per_gas": "0.1",
            "block_id": 17521,
            "timestamp": 1724239347
        }
    }
}