Package nxt.http
Class CurrencyReserveClaim
java.lang.Object
nxt.http.APIServlet.APIRequestHandler
nxt.http.CreateTransaction
nxt.http.CurrencyReserveClaim
Claim currency units and receive back coin invested into this currency before it became active
Parameters
- currency - currency id
- unitsQNT - the number of currency units claimed
This value is multiplied by current currency rate and the result is added to the sender coin account balance.
Constraints
This transaction is allowed only when the currency is CurrencyType.CLAIMABLE and is already active.
-
Nested Class Summary
Nested classes/interfaces inherited from class nxt.http.CreateTransaction
CreateTransaction.CreateTransactionParameters -
Method Summary
Modifier and TypeMethodDescriptionprotected org.json.simple.JSONStreamAwareprocessRequest(javax.servlet.http.HttpServletRequest req) Methods inherited from class nxt.http.CreateTransaction
allowRequiredBlockParameters, createTransaction, getCommonFileParameters, getCommonParameters, getRecipientFileParameters, getRecipientParameters, isChainSpecific, requirePost, transactionParametersMethods inherited from class nxt.http.APIServlet.APIRequestHandler
canHaveRecipient, getAPITags, getCreateTransactionTypes, getFileParameters, getParameters, getSensitiveParameters, isIgnisOnly, isTextArea, processRequest, requireBlockchain, requiredBlockUpdateLock, requireFullClient, requirePassword, startDbTransaction
-
Method Details
-
processRequest
protected org.json.simple.JSONStreamAware processRequest(javax.servlet.http.HttpServletRequest req) throws NxtException - Specified by:
processRequestin classAPIServlet.APIRequestHandler- Throws:
NxtException
-