Package nxt.http
Class GetMintingTarget
java.lang.Object
nxt.http.APIServlet.APIRequestHandler
nxt.http.GetMintingTarget
Currency miners can use this API to obtain their target hash value for minting currency units
Parameters
- currency - currency id
- account - miner account id
- unitsQNT - number of currency units the miner is trying to mint
-
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 NxtException - Specified by:
processRequestin classAPIServlet.APIRequestHandler- Throws:
NxtException
-
isChainSpecific
protected boolean isChainSpecific()- Overrides:
isChainSpecificin classAPIServlet.APIRequestHandler
-