Network

Fetch latest block and proof

Retrieves the current Zero-Knowledge Proof (ZKP) state, including the latest block and proof data, from the Nimiq RPC.

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

Latest block and proof data retrieved successfully

{
  "data": {
    "latest-block": {
      "hash": "9a5d5af21ae761435a11b0f92e28f1822e5250c2cf3f804fb46e4de62b91691f",
      "size": 5170,
      "batch": 19440,
      "epoch": 27,
      "network": "TestAlbatross",
      "version": 1,
      "number": 4198410,
      "timestamp": 1721963686985,
      "parentHash": "a460f13f330d12e82b876736c656f93814bcc54081c7d9c2e4da947d5703fbf2",
      "seed": "7c08462b8ad783e54d9f609d2d53ced4c8c3d6598b061bac47e428a58bb1ffd6ad48fe827cb2b36606a3c9530f3bde5d2101ce34cf62e1d416a6c5d2e6e54809880973c7f671f2fc24ccddf90d0486542c085b6aa9fccda86419d004c818810d",
      "stateHash": "06e8b4de627a26fbaffddb3c7b1fc94debd799e8f4dcdcb3659c6529a7122780",
      "transactions": [
        {
          "hash": "e7c77313e148de4ffc17f71d9e9af89d4cf07fbe3988d581a95616d401d39a31",
          "blockNumber": 4198410,
          "timestamp": 1721963686985,
          "size": 48,
          "relatedAddresses": [
            "NQ57 2F6C X3GB Y9B7 04U5 2BVA 4BVC M2T0 ELRL",
            "NQ81 C01N BASE 0000 0000 0000 0000 0000 0000"
          ],
          "from": "NQ81 C01N BASE 0000 0000 0000 0000 0000 0000",
          "to": "NQ57 2F6C X3GB Y9B7 04U5 2BVA 4BVC M2T0 ELRL",
          "value": 28281582
        }
      ]
    },
    "latest-proof": "Proof { ... }"
  },
  "metadata": null
}