fun toWireTransaction(services: ServicesForResolution): WireTransaction
Generates a WireTransaction from this builder, resolves any AutomaticPlaceholderConstraint, and selects the attachments to use for this transaction.
ZoneVersionTooLowException
- if there are reference states and the zone minimum platform version is less than 4.
Returns
A new WireTransaction that will be unaffected by further changes to this TransactionBuilder.
fun toWireTransaction(services: ServicesForResolution, schemeId: Int): WireTransaction
Generates a WireTransaction from this builder, resolves any AutomaticPlaceholderConstraint, and selects the attachments to use for this transaction.
schemeId
- is used to specify the CustomSerializationScheme used to serialize each component of the componentGroups of the WireTransaction.
This is an experimental feature.
ZoneVersionTooLowException
- if there are reference states and the zone minimum platform version is less than 4.
Returns
A new WireTransaction that will be unaffected by further changes to this TransactionBuilder.
fun toWireTransaction(services: ServicesForResolution, schemeId: Int, properties: Map<Any, Any>): WireTransaction
Generates a WireTransaction from this builder, resolves any AutomaticPlaceholderConstraint, and selects the attachments to use for this transaction.
schemeId
- is used to specify the CustomSerializationScheme used to serialize each component of the componentGroups of the WireTransaction.
This is an experimental feature.
properties
- a list of properties to add to the SerializationSchemeContext these properties can be accessed in CustomSerializationScheme.serialize
when serializing the componentGroups of the wire transaction but might not be available when deserializing.
ZoneVersionTooLowException
- if there are reference states and the zone minimum platform version is less than 4.
Returns
A new WireTransaction that will be unaffected by further changes to this TransactionBuilder.