Package nxt.http
Class GetPhasingOnlyControl
- java.lang.Object
-
- nxt.http.APIServlet.APIRequestHandler
-
- nxt.http.GetPhasingOnlyControl
-
public final class GetPhasingOnlyControl extends APIServlet.APIRequestHandler
Returns the phasing control certain account. The result contains the following entries similar to the control* parameters ofSetPhasingOnlyControl
- votingModel - See
SetPhasingOnlyControl
for possible values. NONE(-1) means not control is set - quorum
- minBalance
- minBalanceModel - See
SetPhasingOnlyControl
for possible values - holding
- whitelisted - array of whitelisted voter account IDs
Parameters
- account - the account for which the phasing control is queried
- See Also:
SetPhasingOnlyControl
- votingModel - See
-
-
Field Summary
-
Fields inherited from class nxt.http.APIServlet.APIRequestHandler
DESCRIPTION_FIELD, MESSAGE_FIELD, NAME_FIELD
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.json.simple.JSONStreamAware
processRequest(javax.servlet.http.HttpServletRequest req)
-
Methods inherited from class nxt.http.APIServlet.APIRequestHandler
allowRequiredBlockParameters, getAPITags, getFileParameter, getParameters, processRequest, requireBlockchain, requireFullClient, requirePassword, requirePost, startDbTransaction
-
-
-
-
Method Detail
-
processRequest
protected org.json.simple.JSONStreamAware processRequest(javax.servlet.http.HttpServletRequest req) throws ParameterException
- Specified by:
processRequest
in classAPIServlet.APIRequestHandler
- Throws:
ParameterException
-
-