public final class CurrencyMint extends APIServlet.APIRequestHandler
Parameters
GetMintingTarget transaction to retrieve the current hash target and then calculate the hash offline
by following the procedure used in CurrencyMint.mintCurrency(nxt.AccountLedger.LedgerEvent, long, nxt.Account, nxt.Attachment.MonetarySystemCurrencyMinting)| Modifier and Type | Method and Description |
|---|---|
protected boolean |
allowRequiredBlockParameters() |
static java.util.List<java.lang.String> |
getCommonParameters() |
protected org.json.simple.JSONStreamAware |
processRequest(javax.servlet.http.HttpServletRequest req) |
protected boolean |
requirePost() |
getAPITags, getFileParameter, getParameters, isPassword, isTextArea, processRequest, requireBlockchain, requireFullClient, requirePassword, startDbTransactionprotected org.json.simple.JSONStreamAware processRequest(javax.servlet.http.HttpServletRequest req)
throws NxtException
processRequest in class APIServlet.APIRequestHandlerNxtExceptionprotected final boolean requirePost()
requirePost in class APIServlet.APIRequestHandlerprotected final boolean allowRequiredBlockParameters()
allowRequiredBlockParameters in class APIServlet.APIRequestHandlerpublic static java.util.List<java.lang.String> getCommonParameters()