Skip to main content

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​

NameTypeDescriptionRequired
accountstringAccount ID or SHAMWARI addressYes
timestampintFilter blocks newer than timestampOptional
firstIndexintPagination start indexOptional
lastIndexintPagination end indexOptional

Response​

{
"blockIds": [
"1234567890",
"2345678901",
"3456789012"
]
}

Response Fields​

FieldTypeDescription
blockIdsarrayList of block IDs

Error Codes​

CodeDescription
3Unknown account

Example​

curl "http://localhost:22024/nxt?requestType=get-account-block-ids&account=SHAMWARI-ABCD-EFGH-IJKL-MNOPQ"