Class: Stellar::FeeBumpTransaction
Instance Method Summary
collapse
#apply_defaults, #hash, #merge, #sign, #sign_decorated, #signature_base, #to_operations
Instance Method Details
#signature_base_prefix ⇒ Object
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_account ⇒ Object
17
18
19
|
# File 'lib/stellar/fee_bump_transaction.rb', line 17
def source_account
source_account_ed25519
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
|