Skip to main content

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

NameTypeDescriptionRequired
accountstringAccount ID or SHAMWARI addressYes
includeFinishedbooleanInclude finished shufflingsOptional
includeHoldingInfobooleanInclude holding informationOptional
firstIndexintPagination start indexOptional
lastIndexintPagination end indexOptional

Response

{
"shufflings": [
{
"shufflingId": "1234567890",
"account": "1234567890",
"accountRS": "SHAMWARI-ABCD-EFGH-IJKL-MNOPQ",
"shufflingType": 0,
"amountQNT": "5000000000",
"height": 250,
"finished": false
}
]
}

Response Fields

FieldTypeDescription
shufflingIdstringShuffling ID
accountstringAccount ID
accountRSstringAccount Reed-Solomon address in SHAMWARI format
shufflingTypeintShuffling type
amountQNTstringAmount in NQT
heightintBlock height
finishedbooleanWhether shuffling is finished

Error Codes

CodeDescription
3Unknown account

Example

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