Skip to main content

ShufflingVerify

Verifies the integrity of a shuffling by comparing the state hash.

Request

POST /nxt?requestType=shufflingVerify

All endpoints use port 22024 by default.

Parameters

NameTypeDescriptionRequired
shufflingFullHashstringShuffling transaction full hashYes
shufflingStateHashstringShuffling state hash to verifyYes
secretPhrasestringSender's secret passphraseYes

Response

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

Example

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