GET /ledger/entry
GET

/v1/ledger/entry

Fetch specific ledger object

AuthNone — works without a key

Request

GEThttps://api.xrpl.to/v1/ledger/entry?account_root=rJqiMb94hyz41SBTNr2AyPNW8AzELa8nE
Query parameterValueDescription
indexentry index
account_rootaddress
offerJSON { account, seq }
ammJSON { asset, asset2 }
checkID
escrowJSON { owner, seq }
directoryJSON { dir_root | owner, sub_index? } or plain 64-hex index
payment_channelID
deposit_preauthJSON { owner, authorized }
ticketJSON { account, ticket_seq }
nft_pageindex
curl 'https://api.xrpl.to/v1/ledger/entry?account_root=rJqiMb94hyz41SBTNr2AyPNW8AzELa8nE'

Response

200Example response3 ms · just now · 0.5 KB · 17 lines
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
Transaction hashes are 64-character hex. Submit relays whatever you signed: the type list below is what the ledger accepts today. Every transaction type you can submit →
OpenAPI