Class AggregateBondedTransactionV1Descriptor
java.lang.Object
org.symbol.sdk.symbol.descriptors.AggregateBondedTransactionV1Descriptor
- All Implemented Interfaces:
SymbolTransactionDescriptor,SymbolTypedDescriptor,TypedDescriptor
public final class AggregateBondedTransactionV1Descriptor
extends Object
implements SymbolTransactionDescriptor
- AggregateBondedTransactionV1Descriptor
- Type safe descriptor used to generate a descriptor map for AggregateBondedTransactionV1Descriptor. Propose an arrangement of transactions between different accounts (V1, deprecated). Use this transaction when not all required signatures are available when the transaction is created. Missing signatures must be provided using a Cosignature or DetachedCosignature. To prevent spam attacks, before trying to announce this transaction a HashLockTransaction must be successfully announced and confirmed.
-
Constructor Summary
ConstructorsConstructorDescriptionAggregateBondedTransactionV1Descriptor(String transactionsHash) Creates a descriptor for AggregateBondedTransactionV1 from string-form values.AggregateBondedTransactionV1Descriptor(CryptoTypes.Hash256 transactionsHash) Creates a descriptor for AggregateBondedTransactionV1. -
Method Summary
Modifier and TypeMethodDescriptioncosignatures(List<Cosignature> cosignatures) Sets the cosignatures field.toMap()Builds a representation of this descriptor that can be passed to a factory function.transactions(List<EmbeddedTransaction> transactions) Sets the transactions field.
-
Constructor Details
-
AggregateBondedTransactionV1Descriptor
Creates a descriptor for AggregateBondedTransactionV1.- Parameters:
transactionsHash- Hash of the aggregate's transaction.
-
AggregateBondedTransactionV1Descriptor
Creates a descriptor for AggregateBondedTransactionV1 from string-form values.- Parameters:
transactionsHash- Hash of the aggregate's transaction.
-
-
Method Details
-
transactions
- AggregateBondedTransactionV1Descriptor.transactions
- Sets the transactions field.
- Parameters:
transactions- Embedded transaction data. Transactions are variable-sized and the total payload size is in bytes. Embedded transactions cannot be aggregates.- Returns:
- This descriptor for chaining.
-
cosignatures
- AggregateBondedTransactionV1Descriptor.cosignatures
- Sets the cosignatures field.
- Parameters:
cosignatures- Cosignatures data. Fills up remaining body space after transactions.- Returns:
- This descriptor for chaining.
-
toMap
- AggregateBondedTransactionV1Descriptor.toMap
- Builds a representation of this descriptor that can be passed to a factory function.
- Specified by:
toMapin interfaceTypedDescriptor- Returns:
- Descriptor map that can be passed to a transaction factory.
-