Optional
api_The API version to use. If omitted, use version 1.
Optional
binaryIf set to true, return ledger objects as hashed hex strings instead of JSON.
The name of the API method.
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.
Optional
limitLimit the number of ledger objects to retrieve. The server is not required to honor this value.
Optional
markerValue from a previous paginated response. Resume retrieving data where that response left off.
Optional
typeIf included, filter results to include only this type of ledger object.
Generated using TypeDoc
The
ledger_data
method retrieves contents of the specified ledger. You can iterate through several calls to retrieve the entire contents of a single ledger version.Example