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

Get batch number

Returns the batch number for the current head.

getBatchNumberrpc method

Parameters

This method does not accept any parameters.

Response fields

u32number

Interactive playground

Try the method against a public RPC endpoint.

Copyright © 2026