Get ledger info
Get the latest ledger information, including data such as chain ID, role type, ledger versions, epoch, etc.
https://aptos-mainnet.s.chainbase.online/{api-key}/v1
Response
The struct holding all data returned to the client by the index endpoint (i.e., GET "/"). Only for responding in JSON
Chain ID of the current chain
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.
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.
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.
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.
validator
, full_node
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.
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.
Git hash of the build of the API endpoint. Can be used to determine the exact software version used by the API endpoint.