Skip to main content

SetPhasingOnlyControl

Sets phasing-only control for an account on the Shamwari Network. When enabled, all transactions from this account must be phased.

Request

POST /nxt?requestType=setPhasingOnlyControl

All endpoints use port 22024 by default.

Parameters

NameTypeDescriptionRequired
accountstringAccount ID or SHAMWARI addressYes
phasingOnlybooleanEnable phasing-only controlYes
secretPhrasestringSender's secret passphraseYes

Response

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

Example

curl -X POST "http://localhost:22024/nxt?requestType=setPhasingOnlyControl" \
-d "account=SHAMWARI-ABCD-EFGH-IJKL-MNOPQ" \
-d "phasingOnly=true" \
-d "secretPhrase=your_secret_passphrase"