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
| Name | Type | Description | Required |
|---|---|---|---|
account | string | Account ID or SHAMWARI address | Yes |
phasingOnly | boolean | Enable phasing-only control | Yes |
secretPhrase | string | Sender's secret passphrase | Yes |
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"