public final class CurrencyBuy extends APIServlet.APIRequestHandler
Parameters
 currency buy transaction attempts to match existing exchange offers. When a match is found, the minimum number of units
 between the number of units offered and the units requested are exchanged at a rate matching the highest sell offer
 A single transaction can match multiple sell offers or none.
 Unlike asset bid order, currency buy is not saved. It's either executed immediately (fully or partially) or not executed
 at all.
 For every match between buyer and seller an exchange record is saved, exchange records can be retrieved using the GetExchanges API
| 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()