IndexResponse class abstract

The struct holding all data returned to the client by the index endpoint (i.e., GET "/"). Only for responding in JSON

Properties:

  • chainId - Chain ID of the current chain
  • epoch - A string containing a 64-bit unsigned integer. We represent u64 values as a string to ensure compatibility with languages such as JavaScript that do not parse u64s in JSON natively.
  • ledgerVersion - A string containing a 64-bit unsigned integer. We represent u64 values as a string to ensure compatibility with languages such as JavaScript that do not parse u64s in JSON natively.
  • oldestLedgerVersion - A string containing a 64-bit unsigned integer. We represent u64 values as a string to ensure compatibility with languages such as JavaScript that do not parse u64s in JSON natively.
  • ledgerTimestamp - A string containing a 64-bit unsigned integer. We represent u64 values as a string to ensure compatibility with languages such as JavaScript that do not parse u64s in JSON natively.
  • nodeRole
  • oldestBlockHeight - A string containing a 64-bit unsigned integer. We represent u64 values as a string to ensure compatibility with languages such as JavaScript that do not parse u64s in JSON natively.
  • blockHeight - A string containing a 64-bit unsigned integer. We represent u64 values as a string to ensure compatibility with languages such as JavaScript that do not parse u64s in JSON natively.
  • gitHash - Git hash of the build of the API endpoint. Can be used to determine the exact software version used by the API endpoint.
Annotations
  • @BuiltValue()

Constructors

IndexResponse([void updates(IndexResponseBuilder b)])
factory

Properties

blockHeight String
A string containing a 64-bit unsigned integer. We represent u64 values as a string to ensure compatibility with languages such as JavaScript that do not parse u64s in JSON natively.
no setter
chainId int
Chain ID of the current chain
no setter
epoch String
A string containing a 64-bit unsigned integer. We represent u64 values as a string to ensure compatibility with languages such as JavaScript that do not parse u64s in JSON natively.
no setter
gitHash String?
Git hash of the build of the API endpoint. Can be used to determine the exact software version used by the API endpoint.
no setter
hashCode int
The hash code for this object.
no setterinherited
ledgerTimestamp String
A string containing a 64-bit unsigned integer. We represent u64 values as a string to ensure compatibility with languages such as JavaScript that do not parse u64s in JSON natively.
no setter
ledgerVersion String
A string containing a 64-bit unsigned integer. We represent u64 values as a string to ensure compatibility with languages such as JavaScript that do not parse u64s in JSON natively.
no setter
nodeRole RoleType
no setter
oldestBlockHeight String
A string containing a 64-bit unsigned integer. We represent u64 values as a string to ensure compatibility with languages such as JavaScript that do not parse u64s in JSON natively.
no setter
oldestLedgerVersion String
A string containing a 64-bit unsigned integer. We represent u64 values as a string to ensure compatibility with languages such as JavaScript that do not parse u64s in JSON natively.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(IndexResponseBuilder)) IndexResponse
Rebuilds the instance.
inherited
toBuilder() IndexResponseBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

serializer → Serializer<IndexResponse>
no setter