NimiqNimiq
  • Web Client
  • Hub
  • RPC
  • Mini Apps
  • Nimiq Utils
  • AI
  • Nodes & Validators
  • Network Upgrades
  • Protocol
  • Migration
  • Overview
  • Blockchain Explorers
    • ARPL CLI Tool
    • JavaScript Native
    • Raw Requests
    • TypeScript Client
    • All
      • getAccountByAddress
      • getAccounts
      • getActiveValidators
      • getBatchNumber
      • getBlockByHash
      • getBlockByNumber
      • getBlockNumber
      • getCurrentPenalizedSlots
      • getEpochNumber
      • getInherentsByBatchNumber
      • getInherentsByBlockNumber
      • getLatestBlock
      • getNetworkId
      • getPreviousPenalizedSlots
      • getSlotAt
      • getStakerByAddress
      • getStakersByValidatorAddress
      • getTransactionByHash
      • getTransactionHashesByAddress
      • getTransactionReferencesByAddress
      • getTransactionsByAddress
      • getTransactionsByBatchNumber
      • getTransactionsByBlockNumber
      • getValidatorByAddress
      • getValidators
      • subscribeForHeadBlock
      • subscribeForHeadBlockHash
      • subscribeForLogsByAddressesAndTypes
      • subscribeForValidatorElectionByAddress
    • ZKP Component
  • Open RPC Servers
  • RPC Node Setup
blockchain

Subscribe for head block hash

Subscribes to new block events (only retrieves the block hash).

subscribeForHeadBlockHashrpc method

Parameters

This method does not accept any parameters.

Response fields

BoxStreamnumber

Interactive playground

Try the method against a public RPC endpoint.

Copyright © 2026