GetAccountLedgerEntry
Returns a specific ledger entry by ID for an account.
Request
GET /nxt?requestType=get-account-ledger-entry
All endpoints use port 22024 by default.
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
ledgerId | string | Ledger entry ID | Yes |
includeTransaction | boolean | Include transaction details | Optional |
includeHoldingInfo | boolean | Include holding metadata | Optional |
Response
{
"ledgerEntry": {
"ledgerId": "1234567890",
"account": "1234567890",
"accountRS": "SHAMWARI-ABCD-EFGH-IJKL-MNOPQ",
"eventType": 1,
"changeQNT": "500000000",
"height": 250
}
}
Response Fields
| Field | Type | Description |
|---|---|---|
ledgerEntry | object | Ledger entry details |
Error Codes
| Code | Description |
|---|---|
| 3 | Unknown ledger entry |
Example
curl "http://localhost:22024/nxt?requestType=get-account-ledger-entry&ledgerId=1234567890"