public class AggregateTransaction extends Transaction
| Constructor and Description |
|---|
AggregateTransaction(NetworkType networkType,
TransactionType transactionType,
java.lang.Integer version,
Deadline deadline,
java.math.BigInteger fee,
java.util.List<Transaction> innerTransactions,
java.util.List<AggregateTransactionCosignature> cosignatures) |
AggregateTransaction(NetworkType networkType,
TransactionType transactionType,
java.lang.Integer version,
Deadline deadline,
java.math.BigInteger fee,
java.util.List<Transaction> innerTransactions,
java.util.List<AggregateTransactionCosignature> cosignatures,
java.lang.String signature,
PublicAccount signer,
TransactionInfo transactionInfo) |
| Modifier and Type | Method and Description |
|---|---|
static AggregateTransaction |
createBonded(Deadline deadline,
java.util.List<Transaction> innerTransactions,
NetworkType networkType)
Create an aggregate bonded transaction object
|
static AggregateTransaction |
createComplete(Deadline deadline,
java.util.List<Transaction> innerTransactions,
NetworkType networkType)
Create an aggregate complete transaction object
|
java.util.List<AggregateTransactionCosignature> |
getCosignatures()
Returns list of transaction cosigners signatures.
|
java.util.List<Transaction> |
getInnerTransactions()
Returns list of innerTransactions included in the aggregate transaction.
|
boolean |
signedByAccount(PublicAccount publicAccount)
Check if account has signed transaction.
|
SignedTransaction |
signTransactionWithCosigners(Account initiatorAccount,
java.util.List<Account> cosignatories)
Sign transaction with cosignatories creating a new SignedTransaction.
|
createTransactionHash, getDeadline, getFee, getNetworkType, getSignature, getSigner, getTransactionInfo, getType, getVersion, hasMissingSignatures, isConfirmed, isUnannounced, isUnconfirmed, signWith, toAggregatepublic AggregateTransaction(NetworkType networkType, TransactionType transactionType, java.lang.Integer version, Deadline deadline, java.math.BigInteger fee, java.util.List<Transaction> innerTransactions, java.util.List<AggregateTransactionCosignature> cosignatures, java.lang.String signature, PublicAccount signer, TransactionInfo transactionInfo)
public AggregateTransaction(NetworkType networkType, TransactionType transactionType, java.lang.Integer version, Deadline deadline, java.math.BigInteger fee, java.util.List<Transaction> innerTransactions, java.util.List<AggregateTransactionCosignature> cosignatures)
public static AggregateTransaction createComplete(Deadline deadline, java.util.List<Transaction> innerTransactions, NetworkType networkType)
deadline - The deadline to include the transaction.innerTransactions - The list of inner innerTransactions.networkType - The network type.AggregateTransactionpublic static AggregateTransaction createBonded(Deadline deadline, java.util.List<Transaction> innerTransactions, NetworkType networkType)
deadline - The deadline to include the transaction.innerTransactions - The list of inner innerTransactions.networkType - The network type.AggregateTransactionpublic java.util.List<Transaction> getInnerTransactions()
public java.util.List<AggregateTransactionCosignature> getCosignatures()
public SignedTransaction signTransactionWithCosigners(Account initiatorAccount, java.util.List<Account> cosignatories)
initiatorAccount - Initiator accountcosignatories - The list of accounts that will cosign the transactionSignedTransactionpublic boolean signedByAccount(PublicAccount publicAccount)
publicAccount - - Signer public account