Interface EnableAmendment

All Superinterfaces:
Transaction
All Known Implementing Classes:
ImmutableEnableAmendment

@Immutable public interface EnableAmendment extends Transaction
An EnableAmendment pseudo-transaction marks a change in status of an amendment. to the XRP Ledger protocol
See Also:
  • "https://xrpl.org/enableamendment.html"
  • Method Details

    • builder

      Construct a builder for this class.
      Returns:
      An ImmutableEnableAmendment.Builder.
    • amendment

      Hash256 amendment()
      A unique identifier for the amendment. This is not intended to be a human-readable name.
      Returns:
      A Hash256 value indentifying an amendment.
    • ledgerSequence

      Optional<LedgerIndex> ledgerSequence()
      The ledger index where this pseudo-transaction appears. This distinguishes the pseudo-transaction from other occurrences of the same change.
      Returns:
      A LedgerIndex to indicates where the tx appears.