Transaction Input

From Peercoin Wiki
Jump to: navigation, search

Transaction Input Structure (In a Block)

Fields marked with * are fields which are not present in the original Bitcoin's block structure. All other fields can be found in Bitcoin's block structure specification. You can also refer to this blog article for a more complete description of the different fields.

Field Description Size
Hash Previous Transaction Transaction hash, each input refers to an output in previous transaction 32 bytes
Transaction Index Output Index refers to an output in the previous transaction 4 bytes
Tx-Input-Script Size Variable Length Integer. The length of the script in bytes. 1 - 9 bytes
Input Script Raw byte code data for the input script <Tx-Input-Script Size> bytes
Sequence Number Always expected to be 0xFFFFFFFF 4 bytes

See also