Class BSV::Transaction::Beef::BeefTx ¶
Inherits: Object
Abstract base class for a single entry in a BEEF bundle.
Subclasses represent the three wire formats: * {RawTxEntry} — raw transaction without a merkle proof * {ProvenTxEntry} — raw transaction with an associated BUMP index * {TxidOnlyEntry} — transaction ID only (no raw data)
- @abstract Subclass and implement {#wtxid} and {#format_flag}.
Public Instance Methods¶
dtxid() ¶
Display-order transaction ID as a hex string.
dtxid always returns a 64-char hex string suitable for JSON and UI boundaries. - @return [String, nil] hex-encoded transaction ID (display order)
format_flag() ¶
Wire-protocol format integer for serialisation. - @abstract - @raise [NotImplementedError] - @return [Integer]
initialize() ¶
- @return [BeefTx] a new instance of BeefTx
wtxid() ¶
Wire-order transaction ID. - @abstract - @raise [NotImplementedError] - @return [String, nil] 32-byte wtxid