Bitcoin Transaction Utilities. Copyright (c) 2013 Alexander Færøy
Authors: Alexander Færøy (ahf@0x90.dk
).
This module contains utilities for manipulating and using Bitcoin Transaction objects.
hash() = peculium_core_types:hash()
transaction() = peculium_core_types:transaction()
transaction_input() = peculium_core_types:transaction_input()
transaction_output() = peculium_core_types:transaction_output()
uint32_t() = peculium_core_types:uint32_t()
hash/1 | Returns the hash of a given transaction. |
inputs/1 | Returns the transaction inputs of a given transaction. |
is_coinbase/1 | Check if a given transaction is a coinbase transaction. |
lock_time/1 | Returns the lock time of a given transaction. |
outputs/1 | Returns the transaction outputs of a given transaction. |
version/1 | Returns the version of a given transaction. |
hash(Transaction::transaction()) -> hash()
Returns the hash of a given transaction.
inputs(Transaction::transaction()) -> [transaction_input()]
Returns the transaction inputs of a given transaction.
is_coinbase(Transaction::transaction()) -> boolean()
Check if a given transaction is a coinbase transaction.
lock_time(Transaction::transaction()) -> uint32_t()
Returns the lock time of a given transaction.
outputs(Transaction::transaction()) -> [transaction_output()]
Returns the transaction outputs of a given transaction.
version(Transaction::transaction()) -> uint32_t()
Returns the version of a given transaction.