> ## Documentation Index
> Fetch the complete documentation index at: https://docs.soroswap.finance/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Soroswap Aggregator API: base URL https://api.soroswap.finance, pick the network with ?network=mainnet or ?network=testnet (omitted means mainnet).
> Auth: Authorization: Bearer sk_... on every call. Get a key at https://console.soroswap.finance/register. A missing or invalid key returns 401 with code and registerUrl (POST /send returns 403 instead); an expired JWT or a missing role returns 403. Free plan 1 request/s; see https://docs.soroswap.finance/api/plans.md.
> Flow: POST /quote (assetIn, assetOut as C... contract addresses, amount as an integer string in the smallest unit, tradeType, protocols) -> POST /quote/build with the unchanged quote and from -> the user signs the XDR -> POST /send. Build right after quoting: a Soroban XDR is valid for 180 seconds. Submit it as is, never re-simulate it.
> Partner id: every account has one (9 hex chars, permanent). Read partnerId from GET /partner, or in the console at https://console.soroswap.finance under Fees & payouts. The partner fee itself is switched on by Soroswap; see https://docs.soroswap.finance/api/fees.md.
> AI tools: docs MCP at https://docs.soroswap.finance/mcp (claude mcp add --transport http soroswap-docs https://docs.soroswap.finance/mcp), skill with npx skills add https://docs.soroswap.finance. Other clients: https://docs.soroswap.finance/api/build-with-ai.md.
> Units and Stellar pitfalls: https://docs.soroswap.finance/api/stellar-gotchas.md. Errors and retries: https://docs.soroswap.finance/api/errors.md.

# Adding Tokens to Your Wallet

> The asset code and issuer a Stellar wallet needs to add a token, with USDC as the example, and the steps in wallets such as LOBSTR, Freighter and xBull.

### Obtain Asset Information

To add an asset to your Stellar wallet, you need to obtain the following information about the token you wish to add:

1. [**Asset Code**:](https://developers.stellar.org/docs/learn/fundamentals/stellar-data-structures/assets#asset-code)
   * **Description**: This is the unique identifier or symbol for the token (e.g., `USDC`).
   * **How to Obtain**: The asset code is typically provided by the token issuer or can be found in the token's official documentation.
2. **Issuer's Public Key**:
   * **Description**: This is the public key of the account that issued the token (e.g., `GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN`).
   * **How to Obtain**: The issuer's public key is usually provided by the token issuer. It can also be found in public Stellar directories such as [StellarExpert](https://stellar.expert/explorer/public) or on the issuer's website.
3. **Additional Details (Optional but Useful)**:
   * **Issuer Domain**: `centre.io`
   * **Issuer URL**: [https://centre.io](https://centre.io/)
   * **Asset Description**: This field can be optional in some wallets but provides additional context about the token.

**Note**: *Ensure that you verify this information from reliable sources to avoid errors or fraud*.

### **Steps to Add the Token to Your Stellar Wallet**

1. **Open Your Stellar Wallet**:
   * [Access your Stellar wallet](https://docs.soroswap.finance/getting-started/wallet-setup.md) (e.g., [Lobstr Wallet](https://lobstr.co/), [Freighter Wallet](https://www.freighter.app/) , [XBull Wallet](https://xbull.app/), etc.).
2. **Navigate to the Assets or Trustlines Section**:
   * Look for the option to add or manage [trustlines](https://docs.soroswap.finance/concepts/trustlines.md) in your wallet.
3. **Add a New Trustline**:
   * Enter the **Asset Code** (`USDC`).
   * Enter the **Issuer's Public Key** (`GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN`).
   * Complete the transaction to set up the trustline. This usually requires a small fee in XLM (Stellar’s native currency) to establish the trustline.
4. **Verify the Token Addition**:
   * After setting up the trustline, you should be able to see the `USDC` token in your wallet. You can receive tokens of this type through transactions or other forms of deposits.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.