This endpoint retrieves ledger object identified by a given ledger index.
Request
GET /api/v1/ledger/{LEDGER_INDEX}
Example
curl https://api.xrpscan.com/api/v1/ledger/80000000
Response
{
"ledger_index": 80000000,
"ledger_hash": "DB978F031BB14734213998060E077D5F813358222DAB07CA8148588D852A55DF",
"close_flags": 0,
"close_time": 1684953531,
"close_time_human": "2023-05-24T18:38:51.000Z",
"close_time_resolution": 10,
"parent_close_time": 1684953530,
"parent_hash": "E70235CEAA964202C74CD81132C69F8F44FE539F9E347F82AA3131410B7CDBEF",
"transaction_hash": "CDA48280EF5F88BC86164A77E1072296899B384619D552445D71C922026A3E8C",
"tx_count": 36,
"total_coins": 99988894618845390
}
Response format
Additional properties may be available in the response based on rippled ledger
command.
Last updated