v1
latestOpenAPI 3.0.32026-07-1765123145.7 KBList the logs from a ledger
List the logs from a ledger, sorted by ID in descending order.
Path parameters
Name of the ledger.
Query parameters
The maximum number of results to return per page.
The maximum number of results to return per page. Deprecated, please use pageSize instead.
Pagination cursor, will return the logs after a given ID. (in descending order).
Filter transactions that occurred after this timestamp. The format is RFC3339 and is inclusive (for example, "2023-01-02T15:04:01Z" includes the first second of 4th minute).
Filter transactions that occurred after this timestamp. The format is RFC3339 and is inclusive (for example, "2023-01-02T15:04:01Z" includes the first second of 4th minute). Deprecated, please use startTime instead.
Filter transactions that occurred before this timestamp. The format is RFC3339 and is exclusive (for example, "2023-01-02T15:04:01Z" excludes the first second of 4th minute).
Filter transactions that occurred before this timestamp. The format is RFC3339 and is exclusive (for example, "2023-01-02T15:04:01Z" excludes the first second of 4th minute). Deprecated, please use endTime instead.
Parameter used in pagination requests. Maximum page size is set to 1000. Set to the value of next for the next page of results. Set to the value of previous for the previous page of results. No other parameters can be set when this parameter is set.
Parameter used in pagination requests. Maximum page size is set to 1000. Set to the value of next for the next page of results. Set to the value of previous for the previous page of results. No other parameters can be set when this parameter is set. Deprecated, please use cursor instead.
Response
OK
Example response
{
"cursor": {
"pageSize": 15,
"previous": "YXVsdCBhbmQgYSBtYXhpbXVtIG1heF9yZXN1bHRzLol=",
"data": [
{
"id": 1234,
"hash": "9ee060170400f556b7e1575cb13f9db004f150a08355c7431c62bc639166431e"
}
]
}
}