# 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).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cheesecakelabs.com/stellar-plus/reference/core/pipelines/submit-transaction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
