I am trying to find out how much BTC has been mined over time hence I would like to query the rewards associated with a block. However, I cant seem to find the API endpoint from the BTC databases I searched.
Ideally, it will be something like www.blockchain.com, where we can see all the block data, including the rewards data.
Can anyone help me with this?