Class LedgerIndexShortcut


  • public class LedgerIndexShortcut
    extends Object
    A String wrapping class that defines three static constants representing shortcut values which can be used to specify a ledger index in a rippled API request.
    • Field Detail

      • CURRENT

        public static final LedgerIndexShortcut CURRENT
        Request information about a rippled server's current working version of the ledger.
      • VALIDATED

        public static final LedgerIndexShortcut VALIDATED
        Request information about for the most recent ledger that has been validated by consensus.
      • CLOSED

        public static final LedgerIndexShortcut CLOSED
        Request information about the most recent ledger that has been closed for modifications and proposed for validation.