Table Columns

Unique Key: ledger_index

Column NameData TypeDescription
ledger_indexBIGINTThe sequence number of this ledger. Each ledger has a unique, monotonically increasing sequence number.
close_timeTIMESTAMP_NTZ(9)The timestamp when this ledger was closed, indicating when the consensus process completed.
ledger_hashVARCHARThe hash of the ledger header, serving as a unique identifier for this specific ledger state.
closedBOOLEANWhether this ledger has been closed by consensus process.
validatedBOOLEANWhether this ledger has been validated by the network consensus. Only validated ledgers are considered final.
statusVARCHARThe current status of the ledger (e.g., “closed”, “validated”, “open”).
total_coinsBIGINTThe total amount of XRP in existence at the time this ledger was closed, in drops.
parent_ledger_hashVARCHARThe hash of the parent ledger that this ledger builds upon, creating the chain of ledgers.
parent_ledger_close_timeTIMESTAMP_NTZ(9)The timestamp when the parent ledger was closed.
state_data_hashVARCHARThe hash of the state tree root, representing the hash of all account states in this ledger.
transaction_set_hashVARCHARThe hash of the transaction set, representing all transactions included in this ledger.
close_time_resolutionBIGINTThe resolution of the close time in seconds.
close_flagsBIGINTFlags that indicate special conditions about how the ledger was closed.
transaction_countBIGINTThe number of transactions included in this ledger.
_created_atTIMESTAMP_NTZ(9)Timestamp when this record was created in the database.
_updated_atTIMESTAMP_NTZ(9)Timestamp when this record was last updated in the database.