# Automated Market Making

After funding their trading wallet, users can start leveraging radFi’s AMM. Users select a pool to contribute to on the **Pools tab** (e.g., PUPS/BTC), along with their **desired range** and **asset amounts**. The required amounts are based on the current price quoted by the AMM. Once confirmed, users broadcast and sign a PSBT from their trading wallet.

<figure><img src="/files/7LLwlZq2ZIMrIP4i48av" alt=""><figcaption><p>Users can become LPs by adding liquidity to their preferred pair</p></figcaption></figure>

radFi then checks if the request is still valid according to the latest quote. If valid, radFi signs the PSBT. Once signed by both parties and broadcast, the user will immediately see their updated AMM position in the **Positions tab**.

As trading occurs within the user's **designated range**, they earn a share of the fees generated. Users can click "**Claim**" in the **Portfolio tab** to request their rewards. They’ll then be prompted to sign a PSBT for the rewards. radFi checks if the request is valid based on the rewards earned, and if so, signs the PSBT and broadcasts the transaction.

*Note: The asset amounts contributed at a given range are determined by radFi’s quoted price at the time of the request. If the quote becomes invalid due to other user activity, the AMM request is dropped. The user must request a new quote and submit another PSBT.*


---

# 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.radfi.co/automated-market-making.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.
