Skip to main content

ShufflingProcess

Processes a shuffling by revealing the shuffled data to the next participant.

Request

POST /nxt?requestType=shufflingProcess

All endpoints use port 22024 by default.

Parameters

NameTypeDescriptionRequired
shufflingFullHashstringShuffling transaction full hashYes
recipientSecretPhrasestringRecipient's secret passphraseYes
recipientPublicKeystringRecipient's public keyYes
secretPhrasestringSender's secret passphraseYes

Response

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

Example

curl -X POST "http://localhost:22024/nxt?requestType=shufflingProcess" \
-d "shufflingFullHash=abc123..." \
-d "recipientSecretPhrase=recipient_phrase" \
-d "recipientPublicKey=recipient_pubkey" \
-d "secretPhrase=your_secret_passphrase"