> 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/extension-user-guide/connect-dapps-and-manage-website-access/sign-transactions-from-dapp.md).

# Sign transactions from dApp

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

### **Sign transactions on Polkadot/Ethereum dApps**

**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/702/extension-user-guide/connect-dapps-and-manage-website-access/connect-disconnect-dapp-via-walletconnect#connect-dapp-with-walletconnect)

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

<figure><img src="/files/I8eWuFr2CXqYvL3UzChi" alt=""><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. This transaction is also referred to as wrapping ETH. Once completed, click "**Wrap**".*

<figure><img src="/files/90xjtuWcZomajw4enyC0" alt=""><figcaption></figcaption></figure>

**Step 3**: The SubWallet popup window will appear. Check the transaction details, then click "**Approve**" to proceed.&#x20;

<figure><img src="/files/VARRYeHoWMdm8K5KoCUf" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/zw29VIlI4n9QbVFh2oGE" alt=""><figcaption></figcaption></figure>

### Sign transactions on Cardano dApps

**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/702/extension-user-guide/connect-dapps-and-manage-website-access/connect-disconnect-dapp-via-walletconnect#connect-dapp-with-walletconnect)

*We are connecting to Minswap in this instance. Once you've connected your account(s) to Minswap, it will display as follows:*

<figure><img src="/files/UTRXboApVWiAPLqQQWtS" alt=""><figcaption></figcaption></figure>

**Step 2:** Fill in the necessary information for the transaction. Once done, hit "**Trade now**".

<figure><img src="/files/4O4udmRIeoTSZDnzvl22" alt=""><figcaption></figcaption></figure>

**Step 3**: The SubWallet popup window will appear.&#x20;

<figure><img src="/files/H0HnjWhyPLebXT9KNaXe" alt=""><figcaption></figcaption></figure>

You will notice the difference between the amount you typed and the amount displayed in the popup. This is because Cardano is an *Unspent Transaction Output (UTXO)-based* blockchain, which utilizes a different accounting model for its ledger from other account-based blockchains like Ethereum & Polkadot.

The amount displayed in the popup is the summary of the amount you want to swap + the minimum UTXO ADA for this transaction (it will be returned when your swaps are processed or cancelled) + the network fee.

{% hint style="info" %}
If you click on the "**View details**" option, you will see the transaction details. In Cardano, each transaction includes inputs and outputs, where the input represents the address that is sending ADA or the native asset, and the outputs represent the addresses that are receiving ADA or the native asset.

<img src="/files/YjxzJmnQkz8BXSJmrpxR" alt="" data-size="original">
{% endhint %}

Check the transaction details, then click "**Approve**" to proceed.&#x20;

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

<figure><img src="/files/5cDGGSQyXFKtMGEe7qbR" alt=""><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/extension-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.
