Skip to main content

GetAccountShufflings

Retrieves shufflings involving a specific account.

Request

GET /nxt?requestType=getAccountShufflings

All endpoints use port 22024 by default.

Parameters

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

Response

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

Example

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