GetAccountShufflings
Returns shuffling information for a specific account, optionally filtered by status and with pagination.
Request
GET /nxt?requestType=get-account-shufflings
All endpoints use port 22024 by default.
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
account | string | Account ID or SHAMWARI address | Yes |
includeFinished | boolean | Include finished shufflings | Optional |
includeHoldingInfo | boolean | Include holding information | Optional |
firstIndex | int | Pagination start index | Optional |
lastIndex | int | Pagination end index | Optional |
Response
{
"shufflings": [
{
"shufflingId": "1234567890",
"account": "1234567890",
"accountRS": "SHAMWARI-ABCD-EFGH-IJKL-MNOPQ",
"shufflingType": 0,
"amountQNT": "5000000000",
"height": 250,
"finished": false
}
]
}
Response Fields
| Field | Type | Description |
|---|---|---|
shufflingId | string | Shuffling ID |
account | string | Account ID |
accountRS | string | Account Reed-Solomon address in SHAMWARI format |
shufflingType | int | Shuffling type |
amountQNT | string | Amount in NQT |
height | int | Block height |
finished | boolean | Whether shuffling is finished |
Error Codes
| Code | Description |
|---|---|
| 3 | Unknown account |
Example
curl "http://localhost:22024/nxt?requestType=get-account-shufflings&account=SHAMWARI-ABCD-EFGH-IJKL-MNOPQ"