View Source StellarBase.XDR.PreconditionsV2 (Elixir Stellar Base v0.16.0)

Representation of Stellar PreconditionsV2 type.

PreconditionsV2 is a set of new optional preconditions for a transaction added in the CAP-21.

Summary

Types

@type t() :: %StellarBase.XDR.PreconditionsV2{
  extra_signers: StellarBase.XDR.SignerKeyList.t(),
  ledger_bounds: StellarBase.XDR.OptionalLedgerBounds.t(),
  min_seq_age: StellarBase.XDR.Duration.t(),
  min_seq_ledger_gap: StellarBase.XDR.UInt32.t(),
  min_seq_num: StellarBase.XDR.OptionalSequenceNumber.t(),
  time_bounds: StellarBase.XDR.OptionalTimeBounds.t()
}

Functions

Link to this function

new(time_bounds, ledger_bounds, min_seq_num, min_seq_age, min_seq_ledger_gap, extra_signers)

View Source
@spec new(
  time_bounds :: StellarBase.XDR.OptionalTimeBounds.t(),
  ledger_bounds :: StellarBase.XDR.OptionalLedgerBounds.t(),
  min_seq_num :: StellarBase.XDR.OptionalSequenceNumber.t(),
  min_seq_age :: StellarBase.XDR.Duration.t(),
  min_seq_ledger_gap :: StellarBase.XDR.UInt32.t(),
  extra_signers :: StellarBase.XDR.SignerKeyList.t()
) :: t()