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?