Skip to main content

GetAssignedShufflings

Retrieves shufflings where an account is the current assignee.

Request

GET /nxt?requestType=getAssignedShufflings

All endpoints use port 22024 by default.

Parameters

NameTypeDescriptionRequired
accountstringAccount ID or SHAMWARI addressYes
includeHoldingInfobooleanInclude holding informationNo
firstIndexintPagination startNo
lastIndexintPagination endNo

Response

{
"shufflings": [
{
"shufflingFullHash": "abc123...",
"holding": "1234567890123456789",
"holdingType": 1,
"amount": 100000000,
"participantCount": 3,
"stage": "PROCESSING",
"assigneeAccount": "1234567890123456789",
"assigneeAccountRS": "SHAMWARI-ABCD-EFGH-IJKL-MNOPQ"
}
],
"errorCode": 0,
"errorDescription": ""
}

Example

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