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 response2 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": "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
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