Package nxt.http
Class CreateTransaction
java.lang.Object
nxt.http.APIServlet.APIRequestHandler
nxt.http.CreateTransaction
- Direct Known Subclasses:
AddAccountPermission,ApproveTransaction,BundleTransactions,BuyAlias,CancelAskOrder,CancelBidOrder,CancelCoinExchange,CastVote,CreatePoll,CurrencyBuy,CurrencyMint,CurrencyReserveClaim,CurrencyReserveIncrease,CurrencySell,DeleteAccountProperty,DeleteAlias,DeleteAssetProperty,DeleteAssetShares,DeleteContractReference,DeleteCurrency,DGSDelisting,DGSDelivery,DGSFeedback,DGSListing,DGSPriceChange,DGSPurchase,DGSQuantityChange,DGSRefund,DividendPayment,ExchangeCoins,IncreaseAssetShares,IssueAsset,IssueCurrency,LeaseBalance,PlaceAskOrder,PlaceBidOrder,PublishExchangeOffer,RemoveAccountPermission,SellAlias,SendMessage,SendMoney,SetAccountInfo,SetAccountProperty,SetAlias,SetAssetProperty,SetAssetTradeRoyalties,SetContractReference,SetPhasingAssetControl,SetPhasingOnlyControl,ShufflingCancel,ShufflingCreate,ShufflingProcess,ShufflingRegister,ShufflingVerify,TransferAsset,TransferCurrency,UploadTaggedData
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreateTransaction(List<TransactionType> transactionTypes, List<String> fileParameters, APITag[] apiTags, String... parameters) -
Method Summary
Modifier and TypeMethodDescriptionprotected final booleanprotected final org.json.simple.JSONStreamAwarecreateTransaction(javax.servlet.http.HttpServletRequest req, Account senderAccount, Attachment attachment) protected final booleanprotected final booleanprotected final CreateTransaction.CreateTransactionParameterstransactionParameters(javax.servlet.http.HttpServletRequest req, Account senderAccount, Attachment attachment) Methods inherited from class nxt.http.APIServlet.APIRequestHandler
canHaveRecipient, getAPITags, getCreateTransactionTypes, getFileParameters, getParameters, getSensitiveParameters, isIgnisOnly, isTextArea, processRequest, processRequest, requireBlockchain, requiredBlockUpdateLock, requireFullClient, requirePassword, startDbTransaction
-
Constructor Details
-
CreateTransaction
-
-
Method Details
-
getCommonParameters
-
getRecipientParameters
-
getCommonFileParameters
-
getRecipientFileParameters
-
createTransaction
protected final org.json.simple.JSONStreamAware createTransaction(javax.servlet.http.HttpServletRequest req, Account senderAccount, Attachment attachment) throws NxtException - Throws:
NxtException
-
transactionParameters
protected final CreateTransaction.CreateTransactionParameters transactionParameters(javax.servlet.http.HttpServletRequest req, Account senderAccount, Attachment attachment) -
requirePost
protected final boolean requirePost()- Overrides:
requirePostin classAPIServlet.APIRequestHandler
-
allowRequiredBlockParameters
protected final boolean allowRequiredBlockParameters()- Overrides:
allowRequiredBlockParametersin classAPIServlet.APIRequestHandler
-
isChainSpecific
protected final boolean isChainSpecific()- Overrides:
isChainSpecificin classAPIServlet.APIRequestHandler
-