/v1/ledger/{index}
Ledger by index with transactions
Request
https://api.xrpl.to/v1/ledger/101738551| Path parameter | Value | Description |
|---|---|---|
| index | ledger index or: validated|closed|current |
| Query parameter | Value | Description |
|---|---|---|
| index | ledger index or: validated|closed|current | |
| transactions | bool (default: true) | |
| expand | bool (default: false) |
curl 'https://api.xrpl.to/v1/ledger/101738551'
Response
https://api.xrpl.to/v1/ledger/101738551{ "success": true, "ledger_index": "101738551", "ledger_hash": "7A22AE89A881F19419081FAA9A018A11DE2F19CF5DF4BB071EFB7D53D58435EC", "close_time": 1769106970000, "close_time_human": "2026-01-22T18:36:10.000Z", "parent_hash": "3A9C9A1C947EDB49C3D24E4726F293F8855323311086752A101FBA6B7BA0A7E8", "account_hash": "A2C0F82DB1E325F9CA0569C5978CC3CB03D71EF08AAF525DE711C3AA955BEAE0", "transaction_hash": "D7107DD9E068EB74A241211DAA4001F2C81BAB05E4FD1D1F780A926E95F2BC58", "total_coins": "99985722412765667", "txn_count": 131, "transactions": [ "01487D5F17CFB0E1CCF5711E9D980182BD5A494A547398BBCA2F2BD981F3DBC7", "0562BD2CE4547F8DC1F5EE43AC716B799132A195BBD2188954FB4FED55033C95", "059C5A2198E9705BA8C067180F18BC5437FF04B37ECAD3D5440059C104A962AA", "070E781F12D9A0592F8A2EE5F3D777069176CCDFD49436D94BA9604736663DF5", "07A27636CBC49B0CAD878329BADF1484A0B2AA023321B864DDE1E1182E9C8EB3" ], "validated": true }
Long arrays and strings are shortened in the example; Send request for the full answer.
What it does
Ledger by index with transactions