GetAccountBlockIds
Returns block IDs forged by a specific account, optionally filtered by timestamp.
Request
GET /nxt?requestType=get-account-block-ids
All endpoints use port 22024 by default.
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
account | string | Account ID or SHAMWARI address | Yes |
timestamp | int | Filter blocks newer than timestamp | Optional |
firstIndex | int | Pagination start index | Optional |
lastIndex | int | Pagination end index | Optional |
Response
{
"blockIds": [
"1234567890",
"2345678901",
"3456789012"
]
}
Response Fields
| Field | Type | Description |
|---|---|---|
blockIds | array | List of block IDs |
Error Codes
| Code | Description |
|---|---|
| 3 | Unknown account |
Example
curl "http://localhost:22024/nxt?requestType=get-account-block-ids&account=SHAMWARI-ABCD-EFGH-IJKL-MNOPQ"