/v1/ledger/entry
Fetch specific ledger object
Request
https://api.xrpl.to/v1/ledger/entry?account_root=rJqiMb94hyz41SBTNr2AyPNW8AzELa8nE| Query parameter | Value | Description |
|---|---|---|
| index | entry index | |
| account_root | address | |
| offer | JSON { account, seq } | |
| amm | JSON { asset, asset2 } | |
| check | ID | |
| escrow | JSON { owner, seq } | |
| directory | JSON { dir_root | owner, sub_index? } or plain 64-hex index | |
| payment_channel | ID | |
| deposit_preauth | JSON { owner, authorized } | |
| ticket | JSON { account, ticket_seq } | |
| nft_page | index |
curl 'https://api.xrpl.to/v1/ledger/entry?account_root=rJqiMb94hyz41SBTNr2AyPNW8AzELa8nE'
Response
https://api.xrpl.to/v1/ledger/entry?account_root=rJqiMb94hyz41SBTNr2AyPNW8AzELa8nE{ "success": true, "took": 1, "index": "FA35F8F693F566F164D678CBD24B21AA9A5FC5F0DD8D676A138404B8CBFE3132", "node": { "Account": "rJqiMb94hyz41SBTNr2AyPNW8AzELa8nE", "Balance": "167380146829464", "Flags": 0, "LedgerEntryType": "AccountRoot", "OwnerCount": 3, "PreviousTxnID": "3EA4FAE2BE3D2FD96D20470535106AFC4CFED0FCD99CECC8359D5F07C8E1870C", "PreviousTxnLgrSeq": 107072724, "Sequence": 67314589, "index": "FA35F8F693F566F164D678CBD24B21AA9A5FC5F0DD8D676A138404B8CBFE3132" }, "ledger_index": 107131969 }
What it does
Fetch specific ledger object
- Notes
- Malformed JSON in object params returns 400