Package nxt.http

Class BundleTransactions


public final class BundleTransactions extends CreateTransaction
Transaction created by this call must expire before any transaction bundled. For this reason if deadline not set it is calculated based on transactions bundled. But not greater than configured by 'nxt.defaultChildBlockDeadline' property.

When isChildrenListEnrichment is true, the list of child transactions is supplemented with currently circulating unconfirmed transactions that meet the bundling rules specified in enrichmentBundlingRulesJSON. Additionally:

  • If no transactionFullHash-es are provided, the list includes only circulating transactions, effectively performing a single iteration of the bundler procedure. In this case, the enrichmentChildChain parameter should be provided.
  • If the feeNQT parameter is not provided, the fee for the ChildBlock transaction created by this call is calculated internally, with a limit specified in enrichmentTotalFeeLimitFQT. The minimum fee applies to the provided transactionFullHash-es, while other transactions pay a fee according to the bundling rule that accepts them.
  • The enrichmentBundlingRulesJSON is a JSON-formatted string containing an array of bundling rule objects. Each object must include the required field minRateNQTPerFXT. An optional filter field can also be provided to exclude specific transactions. The other two fields, overpayFQTPerFXT and feeCalculatorName, are used either to calculate the actual fee paid by the ChildBlock transaction (if feeNQT is provided) or to filter out transactions that would exceed the feeNQT.