so i was parsing the block #496 of bitcoin which contains two transactions, first tx
in the list is the reward tx and the second tx contains three inputs and one output. i tried to parse each scriptSig
but it's completely different bytes array in compare to the a format like
OP_DUP OP_HASH160 <pubKeyHash> OP_EQUALVERIFY OP_CHECKSIG
which get used when we want to make a transaction. the first input's scriptSig
is a 73 byte data which is equal to (each byte is in it's decimal form):
<<72,48,69,2,33,0,203,44,107,52,106,151,138,184,198,27,24,
181,233,57,119,85,203,209,125,110,178,254,0,131,239,50,224,
103,250,108,120,90,2,32,108,228,78,97,63,49,217,166,176,81,
126,70,243,219,21,118,233,129,44,201,141,21,155,253,175,
117,154,80,20,8,27,92,1>>
my first question is how to parse it, and my next question is, in block
response we got only the tx value
, is there any way to check how much btc
was took from each address?
in block #496 there are 3 input and only 1 total tx value.