Skip to content

Instantly share code, notes, and snippets.

@tgoldenberg
Last active February 21, 2021 17:33
Show Gist options
  • Save tgoldenberg/80d0c7a007a2a1a9197d89c09c92a059 to your computer and use it in GitHub Desktop.
Save tgoldenberg/80d0c7a007a2a1a9197d89c09c92a059 to your computer and use it in GitHub Desktop.
Description of Bitcoin Transactions

Transaction (Tx)

Name Description
vin list of inputs
vout list of outputs

Input

Name Description
prevout hash of previous transaction output
n location of previous transaction output
scriptSig signature verifying ownership of previous output

Output

Name Description
scriptPubKey recipient's public address
nValue amount of value (BTC) to transfer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment