/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": "30519803099693", "Flags": 0, "LedgerEntryType": "AccountRoot", "OwnerCount": 3, "PreviousTxnID": "6EB9F228D2D58631A047D2D8AD003538CD81D7E056028DDD48B809B23B7AD9C7", "PreviousTxnLgrSeq": 108008235, "Sequence": 67314642, "index": "FA35F8F693F566F164D678CBD24B21AA9A5FC5F0DD8D676A138404B8CBFE3132" }, "ledger_index": 108040256 }
What it does
Fetch specific ledger object
- Notes
- Malformed JSON in object params returns 400