A ledger version contains a header, a transaction tree, and a state tree, which contain account settings, trustlines, balances, transactions, and other data. Use these methods to retrieve ledger info.
Get info about a ledger version.
Get the latest closed ledger version.
Get the current working ledger version.
Get the raw contents of a ledger version.
Get one element from a ledger version.