# TRX Instant Swap Business

CatFee provides a fully automated USDT-to-TRX exchange service. In this document, “you” refers to a CatFee user, meaning the person who enables and uses the TRX exchange service on CatFee. “End user” refers to the person who sends USDT to your receiving address and ultimately needs to receive TRX.

You need to deposit TRX into your CatFee account in advance, and set your own USDT receiving address and commission rate in the CatFee User Center. After that, when an end user sends USDT to your receiving address, CatFee will automatically detect the transfer, deduct the corresponding TRX from your CatFee TRX balance based on the real-time exchange rate, and automatically send TRX to the end user.

The entire process does not require you to manually send TRX to the end user, nor do you need to calculate the real-time exchange rate manually. Your earnings are calculated based on the USDT commission rate. Once the end user makes a payment, you directly earn USDT.

#### Role Description

To avoid confusion, this document uses the following two terms consistently:

| Term             | Meaning                                                                                                                                               |
| ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| CatFee user, you | The person using the CatFee TRX exchange service. You need to deposit TRX into CatFee, set a USDT receiving address, and configure a commission rate. |
| End user         | The user you serve. The end user sends USDT to your USDT receiving address and waits for CatFee to automatically send TRX.                            |

#### Core Model

The CatFee user model can be understood as follows:

```
End user -> Sends USDT to your USDT receiving address
CatFee -> Automatically deducts your CatFee TRX balance based on the real-time exchange rate
CatFee -> Automatically sends TRX to the end user
You -> Receive USDT from the end user and earn the commission difference
```

You only need to do three things:

1. Deposit TRX into CatFee in advance.
2. Set your USDT receiving address in the CatFee User Center.
3. Set your commission rate.

After the setup is complete, the subsequent exchange process is fully handled by CatFee automatically.

#### Usage Steps

**1. Deposit TRX into CatFee**

You need to prepare enough TRX balance in your CatFee account first. Each time an end user initiates an exchange, CatFee will deduct the required TRX from your account balance based on the real-time TRX/USDT price at that moment.

The deduction is first calculated based on the USDT cost and then converted into TRX:

```
Deducted TRX = (USDT sent by the end user - your commission) / real-time TRX price
```

Therefore, the more sufficient your CatFee account balance is, the more stable the exchange experience will be for end users.

**2. Set Your USDT Receiving Address**

Set a TRON-chain USDT receiving address in the CatFee User Center. This address is your own address, and end users will send USDT directly to it.

CatFee will monitor on-chain deposits to this receiving address. Once a payment from an end user is detected, CatFee will automatically generate an exchange order.

By default, CatFee will send TRX back to the wallet address that made the payment. If the end user wants to receive TRX at another address, they can enter the target TRON address in the transfer memo. CatFee will prioritize sending TRX to the address specified in the memo.

**3. Set the Commission Rate**

The commission rate is the percentage of USDT you earn.

For example:

| Commission Rate | Meaning                                                       |
| --------------- | ------------------------------------------------------------- |
| `1%`            | For every 100 USDT exchanged by the end user, you earn 1 USDT |
| `2%`            | For every 100 USDT exchanged by the end user, you earn 2 USDT |
| `3%`            | For every 100 USDT exchanged by the end user, you earn 3 USDT |

If the commission rate is set through the API, it uses basis points:

```
100 = 1%
200 = 2%
300 = 3%
```

#### Automatic Exchange Flow

When the end user uses the service, the actual flow is as follows:

```
1. The end user sends USDT to your USDT receiving address
2. Your receiving address receives the USDT from the end user
3. CatFee automatically detects the on-chain transfer
4. CatFee calculates the TRX deduction based on your commission rate and the real-time price
5. CatFee deducts TRX from your CatFee account balance
6. CatFee automatically sends TRX to the end user
```

For the end user, they only need to send USDT and wait for TRX to arrive. For you, the entire process requires no manual handling.

#### Earnings Examples

**Example 1: 1% Commission Rate, End User Exchanges 100 USDT**

Assume your commission rate is set to `1%`, and the end user sends `100 USDT` to your receiving address.

```
Amount paid by end user = 100 USDT
Your commission = 100 * 1% = 1 USDT
USDT cost to be deducted = 100 - 1 = 99 USDT
If the real-time price is 1 TRX = 0.1 USDT
TRX deducted by CatFee = 99 / 0.1 = 990 TRX
```

Result:

```
Your receiving address receives 100 USDT
Your CatFee balance is deducted by 990 TRX
Your actual earnings = 1 USDT
CatFee automatically sends TRX to the end user
```

This 1 USDT is calculated based on the USDT amount and will not decrease due to real-time TRX price fluctuations.

**Example 2: 2% Commission Rate, End User Exchanges 50 USDT**

Assume your commission rate is set to `2%`, and the end user sends `50 USDT` to your receiving address.

```
Amount paid by end user = 50 USDT
Your commission = 50 * 2% = 1 USDT
USDT cost to be deducted = 50 - 1 = 49 USDT
If the real-time price is 1 TRX = 0.1 USDT
TRX deducted by CatFee = 49 / 0.1 = 490 TRX
```

Result:

```
Your receiving address receives 50 USDT
Your CatFee balance is deducted by 490 TRX
Your actual earnings = 1 USDT
CatFee automatically sends TRX to the end user
```

**Example 3: 3% Commission Rate, End User Exchanges 200 USDT**

Assume your commission rate is set to `3%`, and the end user sends `200 USDT` to your receiving address.

```
Amount paid by end user = 200 USDT
Your commission = 200 * 3% = 6 USDT
USDT cost to be deducted = 200 - 6 = 194 USDT
If the real-time price is 1 TRX = 0.1 USDT
TRX deducted by CatFee = 194 / 0.1 = 1940 TRX
```

Result:

```
Your receiving address receives 200 USDT
Your CatFee balance is deducted by 1940 TRX
Your actual earnings = 6 USDT
CatFee automatically sends TRX to the end user
```

#### Why You Do Not Need to Worry About TRX Price Changes

In the traditional approach, you may need to judge the price yourself, calculate how much TRX should be sent, and handle the payout manually. If the TRX price changes, price volatility may eat into your profit.

CatFee’s user model works differently:

* Your earnings are calculated based on the USDT commission rate.
* The end user sends USDT to your address.
* CatFee automatically handles the TRX payout.
* You only need to ensure that your CatFee account has enough TRX.
* You do not need to manually process exchanges.
* You do not need to bear the price fluctuation risk caused by slow manual processing.

Simply put, you are responsible for receiving USDT, setting the commission rate, and keeping enough TRX balance. The TRX payout is automatically handled by CatFee.

#### What Happens If the Balance Is Insufficient

If your CatFee TRX balance is insufficient, CatFee cannot complete the deduction, and the order will enter a failed state. The end user may not receive TRX in time.

To ensure a good end-user experience, we recommend that you:

* Keep enough TRX balance in your CatFee account.
* Deposit in advance based on your daily exchange volume.
* Check your balance before campaigns or peak traffic periods.

For example, if you set a `1%` commission rate and expect end users to exchange `1,000 USDT` in one day, assuming the estimated real-time price is `1 TRX = 0.1 USDT`, your CatFee account should prepare at least around `9,900 TRX` in available balance.

#### Recommended Settings

New CatFee users can start with a relatively low commission rate, such as:

```
1% - 2%
```

If your end users care more about arrival speed, stability, and automated service experience, you may increase the commission rate appropriately based on the value of your service.

#### FAQ

**Does the end user need to register with CatFee?**

No. The end user only needs to send USDT to your receiving address. CatFee will automatically process the order based on the on-chain deposit.

**Do I need to manually send TRX to the end user?**

No. CatFee will automatically send TRX to the end user.

**Do I need to prepare TRX in advance?**

Yes. You need to deposit TRX into CatFee in advance, but you do not need to manually send TRX to the end user.

**The end user sends USDT to my address. Why is my CatFee balance still deducted?**

Because the end user’s USDT is sent directly to your receiving address, while CatFee is responsible for paying TRX to the end user. CatFee deducts your TRX balance, which is equivalent to you paying CatFee for the TRX payout cost of this exchange. After deducting the corresponding USDT cost from the USDT sent to you by the end user, the remaining difference is your commission income.

**Can the end user specify the TRX receiving address?**

Yes. If the end user enters a valid TRON address in the transfer memo, CatFee will prioritize sending TRX to the address specified in the memo. Otherwise, CatFee will send TRX back to the payment address by default.


---

# 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.catfee.io/en/getting-started/trx-instant-swap-business.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.
