GetAccountShufflings
Retrieves shufflings involving a specific account.
Request
GET /nxt?requestType=getAccountShufflings
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 | No |
includeHoldingInfo | boolean | Include holding information | No |
firstIndex | int | Pagination start | No |
lastIndex | int | Pagination end | No |
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"