StellarBase.XDR.TransactionV0 (Elixir Stellar Base v0.8.7) View Source
Representation of Stellar TransactionV0 type.
TransactionV0 is a transaction with the AccountID discriminant stripped off, leaving a raw ed25519 public key to identify the source account. This is used for backwards compatibility starting from the protocol 12/13 boundary.
If an "old-style" TransactionEnvelope containing a Transaction is parsed with this XDR definition, it will be parsed as a "new-style" TransactionEnvelope containing a TransactionV0.
Link to this section Summary
Link to this section Types
Specs
t() :: %StellarBase.XDR.TransactionV0{
ext: StellarBase.XDR.Ext.t(),
fee: StellarBase.XDR.UInt32.t(),
memo: StellarBase.XDR.Memo.t(),
operations: StellarBase.XDR.Operations.t(),
seq_num: StellarBase.XDR.SequenceNumber.t(),
source_account_ed25519: StellarBase.XDR.UInt256.t(),
time_bounds: StellarBase.XDR.OptionalTimeBounds.t()
}
Link to this section Functions
Link to this function
new(source_account_ed25519, fee, seq_num, time_bounds, memo, operations, ext)
View SourceSpecs
new( source_account_ed25519 :: StellarBase.XDR.UInt256.t(), fee :: StellarBase.XDR.UInt32.t(), seq_num :: StellarBase.XDR.SequenceNumber.t(), time_bounds :: StellarBase.XDR.OptionalTimeBounds.t(), memo :: StellarBase.XDR.Memo.t(), operations :: StellarBase.XDR.Operations.t(), ext :: StellarBase.XDR.Ext.t() ) :: t()