SendTransactionFlow
Keywords: net.corda.core.flows.SendTransactionFlow class
Date: 2023-09-18

net.corda.core.flows

## Class SendTransactionFlow

- net.corda.core.flows.FlowLogic<T>
- - DataVendingFlow
  - - net.corda.core.flows.SendTransactionFlow

-     public class SendTransactionFlow
      extends DataVendingFlow

  The `class SendTransactionFlow` should be used to send a transaction to another peer that wishes to verify that transaction's integrity by resolving and checking the dependencies as well. The other side should invoke `class ReceiveTransactionFlow` at the right point in the conversation to receive the sent transaction and perform the resolution back-and-forth required to check the dependencies and download any missing attachments.

  See Also:
    `class SendTransactionFlow`, `class ReceiveTransactionFlow`

- - ### Constructor Detail

    - #### SendTransactionFlow

          public SendTransactionFlow(@NotNull
                                     FlowSession otherSide,
                                     @NotNull
                                     SignedTransaction stx)

      The `class SendTransactionFlow` should be used to send a transaction to another peer that wishes to verify that transaction's integrity by resolving and checking the dependencies as well. The other side should invoke `class ReceiveTransactionFlow` at the right point in the conversation to receive the sent transaction and perform the resolution back-and-forth required to check the dependencies and download any missing attachments.

      Parameters:
        `otherSide` - the target party.
        `stx` - the `class SignedTransaction` being sent to the otherSideSession.
      See Also:
        `class SendTransactionFlow`, `class ReceiveTransactionFlow`