Below is block result of block height 200,000
{
'hash':'000000000000034a7dedef4a161fa058a2d67a173a90155f3a2fe6fc132e0ebf',
'confirmations':396774,
'strippedsize':247533,
'size':247533,
'weight':990132,
'height':200000,
'version':2,
'versionHex':'00000002',
'merkleroot':'a08f8101f50fd9c9b3e5252aff4c1c1bd668f878fffaf3d0dbddeb029c307e88',
'tx':[
'dbaf14e1c476e76ea05a8b71921a46d6b06f0a950f17c5f9f1a03b8fae467f10',
'ee475443f1fbfff84ffba43ba092a70d291df233bd1428f3d09f7bd1a6054a1f',
'e03a9a4b5c557f6ee3400a29ff1475d1df73e9cddb48c2391abdc391d8c1504a',
'ffa0267c8f2af736858894d6f3e5081a05e2ec16dc98f78a80f376ce35077491',
...
'd22795f708706cbcd67aaf2bb63e7defd9e0c6c13f4f263dfc36592c047c981a'
],
'time':1348310759,
'mediantime':1348307828,
'nonce':4158183488,
'bits':'1a05db8b',
'difficulty':Decimal('2864140.507810974'),
'chainwork':'00000000000000000000000000000000000000000000001ac073536b8dbae81c',
'nTx':388,
'previousblockhash':'00000000000003a20def7a05a77361b9657ff954b2f2080e135ea6f5970da215',
'nextblockhash':'00000000000002e3269b8a00caf315115297c626f954770e8398470d7f387e1c'
}
Below is coinbase transaction of 200000 block
{
'txid':'dbaf14e1c476e76ea05a8b71921a46d6b06f0a950f17c5f9f1a03b8fae467f10',
'hash':'dbaf14e1c476e76ea05a8b71921a46d6b06f0a950f17c5f9f1a03b8fae467f10',
'version':1,
'size':192,
'vsize':192,
'weight':768,
'locktime':0,
'vin':[
{
'coinbase':'03400d0302ef02062f503253482f522cfabe6d6dd90d39663d10f8fd25ec88338295d4c6ce1c90d4aeb368d8bdbadcc1da3b635801000000000000000474073e03',
'sequence':4294967295
}
],
'vout':[
{
'value':Decimal('50.63517500'),
'n':0,
'scriptPubKey':{
'asm':'04b0bd634234abbb1ba1e986e884185c61cf43e001f9137f23c2c409273eb16e6537a576782eba668a7ef8bd3b3cfb1edb7117ab65129b8a2e681f3c1e0908ef7b OP_CHECKSIG',
'hex':'4104b0bd634234abbb1ba1e986e884185c61cf43e001f9137f23c2c409273eb16e6537a576782eba668a7ef8bd3b3cfb1edb7117ab65129b8a2e681f3c1e0908ef7bac',
'reqSigs':1,
'type':'pubkey',
'addresses':[
'1MdYC22Gmjp2ejVPCxyYjFyWbQCYTGhGq8'
]
}
}
]
}
What I want to is decoding vin.coinbaise
I searched out some docs, but I failed to find out exact way of decoding this part:
coinbase: 03400d0302ef02062f503253482f522cfabe6d6dd90d39663d10f8fd25ec88338295d4c6ce1c90d4aeb368d8bdbadcc1da3b635801000000000000000474073e03
Do you have any idea how to decode it?