> For the complete documentation index, see [llms.txt](https://docs.subwallet.app/main/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.subwallet.app/main/mobile-app-user-guide/connect-dapps-and-manage-website-access/sign-transactions-from-dapp.md).

# Sign transactions from dApp

{% hint style="info" %}
In this instruction, we will sign transactions on Uniswap. This instruction can also be applied to any other Substrate and EVM dApp/website.

The user interface (UI) and buttons you encounter will vary based on the specific designs of each dApp/website.
{% endhint %}

**Step 1:** Open the dApp and connect your account(s) to it from either one of these options:&#x20;

* Connect by selecting [the SubWallet option](https://docs.subwallet.app/beta/)
* Connect by selecting [the WalletConnect option](https://app.gitbook.com/o/CyPU0v2iA12ILmupTKub/s/-Lh39Kwxa1xxZM9WX_Bs/~/changes/714/mobile-app-user-guide/connect-dapps-and-manage-website-access/connect-disconnect-dapp-via-walletconnect#connect-dapp-with-walletconnect)

*In this example, we are connecting to Uniswap. Once you've connected your account(s) to Uniswap, it will display as follows:*

<figure><img src="/files/Q0MqAZMqSK0c6daNgiTJ" alt="" width="272"><figcaption></figcaption></figure>

**Step 2:** Fill in the necessary information for the transaction.&#x20;

*In this example, we will swap ETH for WETH on the Ethereum Sepolia network. Once filled, hit "**Review**" to begin the process.*

<figure><img src="/files/HGr6qjTmgqhxJEtYTLmd" alt="" width="272"><figcaption></figcaption></figure>

**Step 3**: Check the transaction details, then press "**Swap**".

<figure><img src="/files/xII3lut8Nrqwe4lY8bTt" alt="" width="272"><figcaption></figcaption></figure>

**Step 4**: A popup will appear. Re-check the transaction details, then hit "**Approve**" to proceed.&#x20;

<figure><img src="/files/yyq3PREKXyAMpoyivr4o" alt="" width="272"><figcaption></figcaption></figure>

**Step 4**: You've successfully signed a transaction on a dApp! If the transaction is successful, you'll see a change in the balance of each token.

<figure><img src="/files/fTUbeIzbOEBPmMuSTi9T" alt="" width="272"><figcaption></figcaption></figure>


---

# 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.subwallet.app/main/mobile-app-user-guide/connect-dapps-and-manage-website-access/sign-transactions-from-dapp.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.
