Nimiq
policy

Get batch index at

Returns the batch index at a given block number. The batch index is the number of a block relative to the batch it is in. For example, the first block of any batch always has an batch index of 0.

getBatchIndexAtrpc method

Parameters

blockNumbernumberrequired

Response fields

u32number

Interactive playground

Try the method against a public RPC endpoint.

Copyright © 2026