Package nxt.http
Class GetPhasingOnlyControl
java.lang.Object
nxt.http.APIServlet.APIRequestHandler
nxt.http.GetPhasingOnlyControl
Returns the phasing control for given account, if set. The result contains the following entries similar to the control* parameters of
SetPhasingOnlyControl
- votingModel - See
SetPhasingOnlyControlfor possible values. NONE(-1) means not control is set - quorum
- minBalance
- minBalanceModel - See
SetPhasingOnlyControlfor possible values - holding
- whitelisted - array of whitelisted voter account IDs
Parameters
- account - the account for which the phasing control is queried
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected org.json.simple.JSONStreamAwareprocessRequest(javax.servlet.http.HttpServletRequest req) Methods inherited from class nxt.http.APIServlet.APIRequestHandler
allowRequiredBlockParameters, canHaveRecipient, getAPITags, getCreateTransactionTypes, getFileParameters, getParameters, getSensitiveParameters, isIgnisOnly, isTextArea, processRequest, requireBlockchain, requiredBlockUpdateLock, requireFullClient, requirePassword, requirePost, startDbTransaction
-
Method Details
-
processRequest
protected org.json.simple.JSONStreamAware processRequest(javax.servlet.http.HttpServletRequest req) throws ParameterException - Specified by:
processRequestin classAPIServlet.APIRequestHandler- Throws:
ParameterException
-
isChainSpecific
protected boolean isChainSpecific()- Overrides:
isChainSpecificin classAPIServlet.APIRequestHandler
-