# Same-Chain Swaps

* Connect your wallet to PortalX
* Change your wallet to the source network from which you are starting the swap, where the tokens currently reside in your wallet.
* Click the first SELECT TOKEN button to select the starting blockchain and token.  This is the token you want to swap from.
* You can search by token name or contract address after selecting the blockchain.
* Click the second SELECT TOKEN button to select the target token.   This is the token you want to swap into.
* Enter the number of source tokens you want to swap
* PortalX will display the prices available for your trade across the different supported exchanges for the source chain you selected.
* You can view further details by expanding the TRANSACTION DETAILS view at the bottom.
* Click to APPROVE the spend of your source tokens.  This will allow PortalX to swap those tokens through the selected route, eventually into the target tokens on the target blockchain.
* Once approved, click SWAP to complete the transaction
* You can view the details as it executes in the confirmation box
* You can view past transactions from the menu by clicking on your wallet, then selecting Recent Transactions from the dropdown menu.


---

# 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.powercity.io/portalx/how-to.../same-chain-swaps.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.
