Transaction parsing - Satoshi value how exactly is the satoshi value in a raw transaction calculated to decimal? Because on blockchain.info, I cannot figure out how they parse the raw transaction from that value to the JSON result. I thought it would be just a hex to decimal parsing, but I cannot get the same results. Neither I understand it in here, how you get to 49.99990000 BTC (from https://developer.bitcoin.org/reference/transactions.html):
Sorry if it's a silly question.
The amount is encoded as a little endian signed 64 bits integer.
Here is how you would decode your sample in Python:
&gt;&gt;&gt; int.from_bytes(bytes.fromhex(&quot;f0ca052a01000000&quot;), &quot;little&quot;)
4999990000