New answers tagged

0

1) How can I decode the strings in the "scripts" fields of the transaction details dictionary to see the actual scripts. When I do, will they follow the format I outlined above? Scripts are just raw bytes that follow a certain format that is somewhat explained here. In order to see it in the format you outlined (OP_DUP,...) you have to "decode" these bytes. ...


1

There are at least two I'm aware of: Python-bitcoinlib and bitcoin_tools


Top 50 recent answers are included