Optional accountsAdmin required. If true, return information on accounts in the ledger. Ignored if you did not specify a ledger version. Defaults to false.
Optional api_The API version to use. If omitted, use version 1.
Optional binaryIf true, and transactions and expand are both also true, return transaction information in binary format (hexadecimal string) instead of JSON format.
Optional expandProvide full JSON-formatted information for transaction/account information instead of only hashes. Defaults to false. Ignored unless you request transactions, accounts, or both.
Optional fullAdmin required If true, return full information on the entire ledger. Ignored if you did not specify a ledger version. Defaults to false.
Optional idA unique value to identify this request. The response to this request uses the same id field. This way, even if responses arrive out of order, you know which request prompted which response.
Optional ledger_A 20-byte hex string for the ledger version to use.
Optional ledger_The ledger index of the ledger to use, or a shortcut string to choose a ledger automatically.
Optional owner_If true, include owner_funds field in the metadata of OfferCreate transactions in the response. Defaults to false. Ignored unless transactions are included and expand is true.
Optional queueIf true, and the command is requesting the current ledger, includes an array of queued transactions in the results.
Optional transactionsIf true, return information on transactions in the specified ledger version. Defaults to false. Ignored if you did not specify a ledger version.
Generated using TypeDoc
Retrieve information about the public ledger. Expects a response in the form of a LedgerResponse.
Example