Interface Amendments

The Amendments object type contains a list of Amendments that are currently active.

interface Amendments {
    Amendments?: string[];
    Flags: 0;
    index: string;
    LedgerEntryType: "Amendments";
    Majorities?: Majority[];
    PreviousTxnID?: string;
    PreviousTxnLgrSeq?: number;
}

Hierarchy

  • BaseLedgerEntry
  • HasOptionalPreviousTxnID
    • Amendments

Properties

Amendments?: string[]

Array of 256-bit amendment IDs for all currently-enabled amendments. If omitted, there are no enabled amendments.

Flags: 0

A bit-map of boolean flags. No flags are defined for the Amendments object type, so this value is always 0.

index: string
LedgerEntryType: "Amendments"
Majorities?: Majority[]

Array of objects describing the status of amendments that have majority support but are not yet enabled. If omitted, there are no pending amendments with majority support.

PreviousTxnID?: string

The identifying hash of the transaction that most recently modified this object. This field was added in the fixPreviousTxnID amendment, so it may not be present in every object.

PreviousTxnLgrSeq?: number

The index of the ledger that contains the transaction that most recently modified this object. This field was added in the fixPreviousTxnID amendment, so it may not be present in every object.