GetPhasingTotemControl
Retrieves the phasing control parameters for a specific totem.
Request
GET /nxt?requestType=getPhasingTotemControl
All endpoints use port 22024 by default.
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
totem | string | Totem ID | Yes |
Response
{
"totem": "1234567890123456789",
"totemName": "MyTotem",
"controlParams": {
"controlVotingModel": 1,
"controlQuorum": 51,
"controlMinBalance": 1000,
"controlMinBalanceModel": 0
},
"active": true,
"errorCode": 0,
"errorDescription": ""
}
Example
curl "http://localhost:22024/nxt?requestType=getPhasingTotemControl&totem=1234567890123456789"