Network

Fetch supply at a specific time

Retrieves the supply at a specific block height from the Nimiq RPC. The supply is calculated using the supply decay formula.

GET
/getSupplyAt/{genesisSupply}/{genesisTime}/{currentTime}
/getSupplyAt/{genesisSupply}/{genesisTime}/{currentTime}

Path Parameters

genesisSupply
Required
integer

The supply at the genesis of the Nimiq 2.0 chain.

genesisTime
Required
integer

The time in milliseconds since the genesis block.

currentTime
Required
integer

The current time in milliseconds since the genesis block.

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

Supply at the specific time retrieved successfully

{
  "supplyAt": {
    "data": 21538876416028,
    "metadata": null
  }
}