> For the complete documentation index, see [llms.txt](https://docs.cheesecakelabs.com/stellar-plus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cheesecakelabs.com/stellar-plus/reference/core/pipelines/submit-transaction.md).

# Submit Transaction

<figure><img src="/files/oR4NVH79q2ov32wzO8k7" 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](/stellar-plus/reference/rpc.md) for Soroban transactions or preferably a[ HorizonHandler ](/stellar-plus/reference/horizon-handler.md)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).
