OptionalaccountsAdmin required. If true, return information on accounts in the ledger. Ignored if you did not specify a ledger version. Defaults to false.
Optionalapi_The API version to use. If omitted, use version 1.
OptionalbinaryIf true, and transactions and expand are both also true, return transaction information in binary format (hexadecimal string) instead of JSON format.
The name of the API method.
OptionalexpandProvide full JSON-formatted information for transaction/account information instead of only hashes. Defaults to false. Ignored unless you request transactions, accounts, or both.
OptionalfullAdmin required If true, return full information on the entire ledger. Ignored if you did not specify a ledger version. Defaults to false.
OptionalidA 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.
Optionalledger_A 20-byte hex string for the ledger version to use.
Optionalledger_The ledger index of the ledger to use, or a shortcut string.
Optionalowner_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.
OptionalqueueIf true, and the command is requesting the current ledger, includes an array of queued transactions in the results.
OptionaltransactionsIf true, return information on transactions in the specified ledger version. Defaults to false. Ignored if you did not specify a ledger version.
OptionaltypeIf included, filter results to include only this type of ledger object.
Retrieve information about the public ledger. Expects a response in the form of a LedgerResponse.
Example