Package nxt.http
Class GetMintingTarget
- java.lang.Object
-
- nxt.http.APIServlet.APIRequestHandler
-
- nxt.http.GetMintingTarget
-
public final class GetMintingTarget extends APIServlet.APIRequestHandler
Currency miners can use this API to obtain their target hash value for minting currency unitsParameters
- currency - currency id
- account - miner account id
- units - number of currency units the miner is trying to mint
-
-
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, isPassword, isTextArea, processRequest, requireBlockchain, requireFullClient, requirePassword, requirePost, startDbTransaction
-
-
-
-
Method Detail
-
processRequest
protected org.json.simple.JSONStreamAware processRequest(javax.servlet.http.HttpServletRequest req) throws NxtException
- Specified by:
processRequest
in classAPIServlet.APIRequestHandler
- Throws:
NxtException
-
-