/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": "163597944397381", "Flags": 0, "LedgerEntryType": "AccountRoot", "OwnerCount": 3, "PreviousTxnID": "4E51C12A80EF37A711E6F7B5B08EECF5E3E912604607FD5398ADAF0D355DD48E", "PreviousTxnLgrSeq": 107550630, "Sequence": 67314616, "index": "FA35F8F693F566F164D678CBD24B21AA9A5FC5F0DD8D676A138404B8CBFE3132" }, "ledger_index": 107595350 }
What it does
Fetch specific ledger object
- Notes
- Malformed JSON in object params returns 400