/network/ledger-infonetwork-ledgerInfoReturns indexed ledger headers ordered newest-first, optionally constrained to an inclusive [startIndex, endIndex] range. Each row is a ledger-level record (close time, transaction count, fee summary); use the trade, NFT, or token endpoints for per-transaction views.
| Name | Location | Details |
|---|---|---|
BearerAuth | Authorization header · bearer | JWT issued by the Honeycluster auth service for the `indexer` audience. Present as `Authorization: Bearer <token>`. |
| Name | Type | Default | Description |
|---|---|---|---|
cursor | string | ||
limit | integer | 20 | |
startIndex | integer | ||
endIndex | integer |
| Field | Type | Description |
|---|---|---|
items | object[] | Page of results. |
items[]. | string | UUID — part of the composite PK (id, close_time). |
items[]. | integer | XRPL ledger sequence number. |
items[]. | string | SHA-512Half hash of this ledger. |
items[]. | string | Hash of the previous ledger. |
items[]. | object | |
items[]. | object | |
items[]. | integer | When the ledger was validated, Unix-seconds. |
items[]. | integer | Close time granularity in seconds. |
items[]. | integer | Ledger close flags bitmask. |
items[]. | object | |
items[]. | string | Total XRP in existence, in drops. |
items[]. | integer | Total transactions in this ledger. |
items[]. | integer | Transactions that applied successfully (tes codes). |
items[]. | integer | Transactions that failed (tec/tef/tem/ter codes). |
items[]. | string | Sum of all transaction fees in this ledger, in drops. |
items[]. | string | Network base fee at this ledger, in drops. |
items[]. | string | Median transaction fee in this ledger, in drops. |
items[]. | string | Lowest transaction fee in this ledger, in drops. |
items[]. | string | Highest transaction fee in this ledger, in drops. |
items[]. | string | Account reserve requirement, in drops. |
items[]. | string | Per-object reserve increment, in drops. |
items[]. | integer | New accounts funded in this ledger. |
items[]. | integer | Accounts deleted in this ledger. |
items[]. | integer | Record creation timestamp, Unix-seconds. |
nextCursor | object | Cursor to fetch the next page, or null if this is the last page. |
{
"items": [
{
"id": "00000000-0000-0000-0000-000000000000",
"ledgerIndex": 0,
"ledgerHash": "string",
"parentHash": "string",
"accountHash": "string",
"transactionHash": "string",
"closeTime": 1745798400,
"closeTimeResolution": 0,
"closeFlags": 0,
"closeDuration": 0,
"totalCoins": "string",
"transactionCount": 0,
"successfulTxCount": 0,
"failedTxCount": 0,
"totalFees": "string",
"baseFee": "string",
"medianFee": "string",
"minFee": "string",
"maxFee": "string",
"reserveBase": "string",
"reserveIncrement": "string",
"accountsCreated": 0,
"accountsDeleted": 0,
"createdAt": 1745798400
}
],
"nextCursor": "string"
}| Field | Type | Description |
|---|---|---|
message | string | The error message |
code | string | The error code |
issues | object[] | An array of issues that were responsible for the error |
issues[]. | string |
{
"code": "BAD_REQUEST",
"message": "Invalid input data",
"issues": []
}| Field | Type | Description |
|---|---|---|
message | string | The error message |
code | string | The error code |
issues | object[] | An array of issues that were responsible for the error |
issues[]. | string |
{
"code": "UNAUTHORIZED",
"message": "Authorization not provided",
"issues": []
}| Field | Type | Description |
|---|---|---|
message | string | The error message |
code | string | The error code |
issues | object[] | An array of issues that were responsible for the error |
issues[]. | string |
{
"code": "FORBIDDEN",
"message": "Insufficient access",
"issues": []
}| Field | Type | Description |
|---|---|---|
message | string | The error message |
code | string | The error code |
issues | object[] | An array of issues that were responsible for the error |
issues[]. | string |
{
"code": "NOT_FOUND",
"message": "Not found",
"issues": []
}| Field | Type | Description |
|---|---|---|
message | string | The error message |
code | string | The error code |
issues | object[] | An array of issues that were responsible for the error |
issues[]. | string |
{
"code": "INTERNAL_SERVER_ERROR",
"message": "Internal server error",
"issues": []
}