Skip to content

Class BSV::Transaction::Beef::ProvenTxEntry

Inherits: BSV::Transaction::Beef::BeefTx

A BEEF entry containing a raw transaction with an associated BUMP index.

Attributes

bump_index [R]

  • @return [Integer] index into the BEEF bumps array

transaction [R]

  • @return [Transaction::Tx] the transaction

Public Instance Methods

format_flag()

  • @return [Integer] FORMAT_RAW_TX_AND_BUMP wire-protocol flag

initialize(transaction:, bump_index:)

  • @param transaction [Transaction::Tx] the transaction
  • @param bump_index [Integer] index into the bumps array
  • @raise [ArgumentError] if transaction or bump_index is nil
  • @return [ProvenTxEntry] a new instance of ProvenTxEntry

wtxid()

  • @return [String] wire-order wtxid delegated to the transaction