Block

Fetch the current block number

Fetches the block number for the current head from the Nimiq RPC.

GET
/getBlockNumber
/getBlockNumber
curl -X GET "https://api.nimiqhub.com/getBlockNumber"

Block number successfully retrieved

{
  "blockNumber": 4229568,
  "metadata": null
}