Class: Stellar::FeeBumpTransaction

Inherits:
Object
  • Object
show all
Includes:
Concerns::Transaction
Defined in:
lib/stellar/fee_bump_transaction.rb

Instance Method Summary collapse

Methods included from Concerns::Transaction

#apply_defaults, #hash, #merge, #sign, #sign_decorated, #signature_base, #to_operations

Instance Method Details

#signature_base_prefixObject



11
12
13
14
15
# File 'lib/stellar/fee_bump_transaction.rb', line 11

def signature_base_prefix
  val = Stellar::EnvelopeType.envelope_type_tx_fee_bump

  Stellar.current_network_id + Stellar::EnvelopeType.to_xdr(val)
end

#source_accountObject



17
18
19
# File 'lib/stellar/fee_bump_transaction.rb', line 17

def 
  
end

#to_envelope(*key_pairs) ⇒ Object



5
6
7
8
9
# File 'lib/stellar/fee_bump_transaction.rb', line 5

def to_envelope(*key_pairs)
  signatures = (key_pairs || []).map(&method(:sign_decorated))

  TransactionEnvelope.fee_bump(signatures: signatures, tx: self)
end