Skip to main content

ShufflingCancel

Cancels a shuffling by revealing key seeds.

Request

POST /nxt?requestType=shufflingCancel

All endpoints use port 22024 by default.

Parameters

NameTypeDescriptionRequired
shufflingFullHashstringShuffling transaction full hashYes
cancellingAccountstringCancelling account IDNo
shufflingStateHashstringShuffling state hashYes
secretPhrasestringSender's secret passphraseNo

Response

{
"transaction": "1234567890123456789",
"fullHash": "abc123def456...",
"errorCode": 0,
"errorDescription": ""
}

Example

curl -X POST "http://localhost:22024/nxt?requestType=shufflingCancel" \
-d "shufflingFullHash=abc123..." \
-d "shufflingStateHash=statehash123..." \
-d "secretPhrase=your_secret_passphrase"