| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.Bitcoin.Transaction.Types
- newtype VarInt = VarInt {}
- data TxnOutputType
- data TransactionHash = TransactionHash Integer
- data OutPoint = OutPoint {}
- data TransactionIn = TransactionIn {}
- data TransactionOut = TransactionOut {
- outValue :: Word64
- scriptOutput :: Script
- data Transaction = Transaction {
- txVersion :: Word32
- txIn :: [TransactionIn]
- txOut :: [TransactionOut]
- txLockTime :: Word32
Documentation
Data type representing a variable length integer. The VarInt type
usually precedes an array or a string that can vary in length.
data TxnOutputType Source
Constructors
| TxnPubKey | JSON of "pubkey" received. |
| TxnPubKeyHash | JSON of "pubkeyhash" received. |
| TxnScriptHash | JSON of "scripthash" received. |
| TxnMultisig | JSON of "multisig" received. |
data TransactionHash Source
Constructors
| TransactionHash Integer |
The OutPoint is used inside a transaction input to reference the previous transaction output that it is spending.
Constructors
| OutPoint | |
Fields
| |
data TransactionIn Source
Data type representing a transaction input.
Constructors
| TransactionIn | |
Fields
| |
data TransactionOut Source
Data type representing a transaction output.
Constructors
| TransactionOut | |
Fields
| |
data Transaction Source
Data type representing a bitcoin transaction
Constructors
| Transaction | |
Fields
| |
Instances