toggle menu
Kaptos
0.1.2-beta
common
switch theme
search in API
Kaptos
/
xyz.mcxross.kaptos.model
/
LedgerInfo
Ledger
Info
@
Serializable
data
class
LedgerInfo
(
val
chainId
:
Long
,
val
epoch
:
String
,
val
ledgerVersion
:
String
,
val
oldestLedgerVersion
:
String
,
val
ledgerTimestamp
:
String
,
val
nodeRole
:
String
,
val
oldestBlockHeight
:
String
,
val
blockHeight
:
String
,
val
gitHash
:
String
)
Members
Constructors
Ledger
Info
Link copied to clipboard
constructor
(
chainId
:
Long
,
epoch
:
String
,
ledgerVersion
:
String
,
oldestLedgerVersion
:
String
,
ledgerTimestamp
:
String
,
nodeRole
:
String
,
oldestBlockHeight
:
String
,
blockHeight
:
String
,
gitHash
:
String
)
Properties
block
Height
Link copied to clipboard
@
SerialName
(
value
=
"block_height"
)
val
blockHeight
:
String
chain
Id
Link copied to clipboard
@
SerialName
(
value
=
"chain_id"
)
val
chainId
:
Long
epoch
Link copied to clipboard
val
epoch
:
String
git
Hash
Link copied to clipboard
@
SerialName
(
value
=
"git_hash"
)
val
gitHash
:
String
ledger
Timestamp
Link copied to clipboard
@
SerialName
(
value
=
"ledger_timestamp"
)
val
ledgerTimestamp
:
String
ledger
Version
Link copied to clipboard
@
SerialName
(
value
=
"ledger_version"
)
val
ledgerVersion
:
String
node
Role
Link copied to clipboard
@
SerialName
(
value
=
"node_role"
)
val
nodeRole
:
String
oldest
Block
Height
Link copied to clipboard
@
SerialName
(
value
=
"oldest_block_height"
)
val
oldestBlockHeight
:
String
oldest
Ledger
Version
Link copied to clipboard
@
SerialName
(
value
=
"oldest_ledger_version"
)
val
oldestLedgerVersion
:
String