# Query Methods

#### getSupportedAssets

Returns the list of assets and networks currently accepted for deposit. Use this to populate asset-picker UIs and validate user input before generating a deposit address.

```
const supportedAssets = await fundClient.getSupportedAssets();
```

Response items include: `symbol`, `name`, `network`, `tokenAddress`, `decimals`.

#### getUdaAddress

Generates a unique **User Deposit Address (UDA)** for a given recipient. The UDA is a one-time or session-scoped address that, once funded, automatically routes assets to the user's City account on the target network.

```
const udaAddress = await fundClient.getUdaAddress({
  recipientAddr: walletAddress,
  userId: userId,
  network: "56",
  toNetwork: "56",
  toTokenAddress: "0x55d398326f99059fF775485246999027B3197955",
});
```

<table><thead><tr><th width="183.203125">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><code>recipientAddr</code></td><td>The user's wallet address that will receive the funded assets.</td></tr><tr><td><code>userId</code></td><td>Your application's internal identifier for the user. Used for reconciliation and audit trails.</td></tr><tr><td><code>network</code></td><td>The chain ID of the network the user is sending assets <strong>from</strong>.</td></tr><tr><td><code>toNetwork</code></td><td>The chain ID of the destination network where assets will arrive.</td></tr><tr><td><code>toTokenAddress</code></td><td>The contract address of the target token on the destination network.</td></tr></tbody></table>

> **Note:** The returned UDA is managed by the fun.xyz infrastructure. Once the user sends supported assets to this address, the pipeline handles bridging, swapping, and final delivery to `recipientAddr` on the target chain.


---

# 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://city-protocol.gitbook.io/docs/software-development-kit/deposit-add-fund/query-methods.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.
