Is there a ‘command’ to get the max supply of bitcoin that will ever exist using the bitcoin-cli?

I would like to know if there a way(‘command’) to know what is the max supply of bitcoin using my own node without trusting a third party. Also if anyone could explain to me why : bitcoin-cli gettxoutsetinfo returns this message when written: *error: Could not connect to the server 127.0.0.1:8332 (error code 0 -…

Details

Why do transaction receipts not include the value of Ether transferred?

I’m writing some logic to identify the currency used in an ethereum transaction, and am wondering the following: web3.eth.getTransaction returns a value field that indicates the value transferred in Wei. However I’m using receipts, and web3.eth.getTransactionReceipt does not include the value transferred, which seems a little unintuitive. Why is this the case?

Details