> For the complete documentation index, see [llms.txt](https://docs.brahma.fi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.brahma.fi/brahma-accounts/brahma-pro/transacting-in-brahma-pro/smart-execution.md).

# Smart Execution

**Smart Execution** in your account is powered by Brahma's advanced relayer, which automatically handles the settlement of your transactions, ensuring they are executed in the most efficient and secure way possible.

#### How It Works

* **Optimised Gas Costs and Speed**: Once you sign a transaction, Brahma's relayer takes over, optimising gas costs and selecting the fastest route to complete the transaction. This ensures that your transactions are processed efficiently without manual adjustments, saving you both time and money.
* **Protection Against MEV and Frontrunning**: Brahma automatically safeguards your transactions from **Miner Extractable Value (MEV)** and potential frontrunning, particularly during swaps. It routes your transactions through specialised providers that offer protection against these risks, ensuring you receive the best possible outcome for your trades.
* **Automatic Adjustments for Stuck Transactions**: If a transaction gets stuck due to a sudden spike in gas fees or other on-chain conditions, Smart Execution will automatically adjust the settings (such as gas price) and retry the transaction several times. This ensures that your transaction is completed within a reasonable range, without requiring manual intervention.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.brahma.fi/brahma-accounts/brahma-pro/transacting-in-brahma-pro/smart-execution.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
