Bitcoin::Messages::Tx
Inherits Bitcoin::Message < Bitcoin::Structure < Reference < Object
Constructors
new(version : Int32 = 1, tx_in : Array(Structures::TxIn) = Array(Structures::TxIn).new, tx_out : Array(Structures::TxOut) = Array(Structures::TxOut).new, lock_time : UInt32 = 0_u32)
Class methods
from_payload(io : IO)
Instance methods
id
inspect
Returns an unambiguous and information-rich string representation of this object, typically intended for developers.
This method should usually not be overridden. It delegates to
#inspect(IO) which can be overridden for custom implementations.
Also see #to_s.
lock_time
to_payload
overloaded by payload macro
tx_in
tx_out
version