TxClient..::..Broadcast<(Of <(<'T>)>)> Method (array<IMessage>[]()[][], TxOptions)
Used to send a complex transactions, which contains a list of messages. The messages are executed in sequence, and the transaction succeeds if all messages succeed.
The result tries to convert the first message result to T.
Namespace:
SecretNET.TxAssembly: SecretNET (in SecretNET.dll)
Syntax
public Task<SingleSecretTx<T>> Broadcast<T>( IMessage[] messages, TxOptions txOptions )
Type Parameters
- T
Parameters
- messages
- Type: array<IMessage>[]()[][]
The messages.
- txOptions
- Type: SecretNET.Tx..::..TxOptions
The tx options.