Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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
TxnPubKey | JSON of "pubkey" received. |
TxnPubKeyHash | JSON of "pubkeyhash" received. |
TxnScriptHash | JSON of "scripthash" received. |
TxnMultisig | JSON of "multisig" received. |
data TransactionHash Source
The OutPoint is used inside a transaction input to reference the previous transaction output that it is spending.
OutPoint | |
|
data TransactionIn Source
Data type representing a transaction input.
TransactionIn | |
|
data TransactionOut Source
Data type representing a transaction output.
TransactionOut | |
|
data Transaction Source
Data type representing a bitcoin transaction
Transaction | |
|