# Submit Transaction

<figure><img src="https://1878311582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrN5WLmmo14XNSVjsb16D%2Fuploads%2FGFzMLk01tS2PQkVGEbuV%2Fimage.png?alt=media&#x26;token=4fe9f85c-c4e5-4c29-8dd9-6a665f4364f0" alt="" width="563"><figcaption></figcaption></figure>

## Input

```typescript
 type SubmitTransactionPipelineInput = {
  transaction: Transaction | FeeBumpTransaction
  networkHandler: RpcHandler | HorizonHandler
}
```

* **transaction**: A transaction of fee bump transaction ready to be submitted for processing.
* **networkHandler**: A handler to communicate with the Stellar network. Can be an [RPC handler](https://docs.cheesecakelabs.com/stellar-plus/reference/rpc) for Soroban transactions or preferably a[ HorizonHandler ](https://docs.cheesecakelabs.com/stellar-plus/reference/horizon-handler)for Stellar Classic transactions.

## Output

```typescript
type SubmitTransactionPipelineOutput = {
  response: HorizonApi.SubmitTransactionResponse | SorobanRpc.Api.SendTransactionResponse
}
```

* **response**: A response object for a successful transaction. Can be of type `HorizonApi.SubmitTransactionResponse` for Classic transactions or `SorobanRpc.Api.SendTransactionResponse` for Soroban transactions.  These types are sourced from[ js-stellar-sdk](https://github.com/stellar/js-stellar-sdk).
