marker (1 byte, optional): 0x00 for SegWit transactions. (Introduced with SegWit)
flag (1 byte, optional): 0x01 for SegWit transactions. (Introduced with SegWit)
tx_in_count (CompactSize integer): Number of input transactions.
tx_ins (Variable size): A list of transaction albania phone number list inputs. Each input specifies:
previous_output (36 bytes): References a specific unspent output from a previous transaction that is being spent. It consists of:
hash (32 bytes): The transaction ID (TXID) of the previous transaction.
index (4 bytes, little-endian): The output index within that previous transaction.
scriptSig_size (CompactSize integer): Size of the scriptSig (unlocking script).
scriptSig (Variable size): The "unlocking script" that satisfies the conditions set by the scriptPubKey of the previous output being spent. For standard P2PKH transactions, this contains the user's signature and public key. (Legacy transactions only)
sequence (4 bytes, little-endian): A field used for various purposes, including locking transactions or opting into Replace-by-Fee (RBF).
tx_out_count (CompactSize integer): Number of output transactions.
tx_outs (Variable size): A list of transaction outputs. Each output specifies:
value (8 bytes, little-endian): The amount of Bitcoin (in satoshis) being transferred in this output.
scriptPubKey_size (CompactSize integer): Size of the scriptPubKey (locking script).
scriptPubKey (Variable size): The "locking script" that defines the conditions that must be met to spend this output in the future (e.g., provide a signature from a specific public key).
Keys are fundamental to Bitcoin's cryptographic security
-
- Posts: 180
- Joined: Wed Dec 18, 2024 4:34 am