Class RootResponse

java.lang.Object
org.stellar.sdk.responses.Response
org.stellar.sdk.responses.RootResponse

public final class RootResponse extends Response
Represents root endpoint response.
See Also:
  • Constructor Details

  • Method Details

    • getHorizonVersion

      public String getHorizonVersion()
    • getStellarCoreVersion

      public String getStellarCoreVersion()
    • getIngestLatestLedger

      public Long getIngestLatestLedger()
    • getHistoryLatestLedger

      public Long getHistoryLatestLedger()
    • getHistoryLatestLedgerClosedAt

      public String getHistoryLatestLedgerClosedAt()
    • getHistoryElderLedger

      public Long getHistoryElderLedger()
    • getCoreLatestLedger

      public Long getCoreLatestLedger()
    • getNetworkPassphrase

      public String getNetworkPassphrase()
    • getCurrentProtocolVersion

      public Integer getCurrentProtocolVersion()
    • getSupportedProtocolVersion

      public Integer getSupportedProtocolVersion()
    • getCoreSupportedProtocolVersion

      public Integer getCoreSupportedProtocolVersion()
    • getLinks

      public RootResponse.Links getLinks()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object