You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: features/app-fees.mdx
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: "Add App Fees on any route and collect in stablecoins "
5
5
6
6
## What are App Fees?
7
7
8
-
App fees are additional fees set by third-party developers on top of existing fees. These fees are specified when generating a quote. To improve the gas costs of fee setting, App fees are not paid out in real-time. Rather, App Fees accrue in base _USDC,_ and can be claimed as desired at your convenience.
8
+
App fees are additional fees set by third-party developers on top of existing fees. These fees are specified when generating a quote. To improve the gas costs of fee setting, App fees are not paid out in real-time. Rather, App Fees accrue in an offchain base _USDC,_balance and can be withdrawn as desired at your convenience.
9
9
10
10
## Setting App Fees
11
11
@@ -27,15 +27,15 @@ App Fees are measured in basis points (bps) based on the input value of an order
27
27
- App Fee Recipients _must_ be an EVM compatible wallet address, even for non-EVM chains.
28
28
- App fees _can_ be an array, for setting multiple fees at once
29
29
30
-
## Claiming App Fees
30
+
## Withdrawing App Balance
31
31
32
-
App fees accrue in USDC, and can be claimed on any chain. Fees are free to claim on Base, and Relay exchange fees apply to claim on any other chain or in any other currency.
32
+
App balance accrue in USDC from app fees, and can be claimed on any chain. The balance is free to claim on Base, and Relay app balance apply to claim on any other chain or in any other currency.
33
33
34
-
The easiest way to claim your App fees is to use the [Relay App](https://relay.link/claim-app-fees). The Relay App also works for claiming via a multisig. Here’s how you can claim via API:
34
+
The easiest way to claim your App Balance is to use the [Relay App](https://relay.link/claim-app-fees). The Relay App Balance page also supports withdrawing via a multisig. Here’s how you can withdraw via the API:
35
35
36
-
### Check App Fees Balance
36
+
### Get App Balance
37
37
38
-
To check your accrued App fees, use the App fee balances API. Here’s an example curl command:
38
+
To check your accrued App Balance, use the App fee balances API. Here’s an example curl command:
@@ -64,9 +64,11 @@ The response includes the `balances.currency` field reflecting your off-chain ba
64
64
}
65
65
```
66
66
67
-
### **How to claim your off-chain balance?**
67
+
To learn more about this api, see the [Get App Fee Balance](/references/api/get-app-fee-balances) API reference.
68
68
69
-
To claim your app fees, use the app fees claim API. If using the API, the response will guide you through signing and submitting a message to the `/execute/permit` endpoint to verify ownership of your claim address. The SDK automates this process for you.
69
+
### **How to withdraw your off-chain balance?**
70
+
71
+
To withdraw your app fees, use the app fees claim API. If using the API, the response will guide you through signing and submitting a message to the `/execute/permit` endpoint to verify ownership of your claim address. The SDK automates this process for you.
70
72
71
73
**API/SDK**
72
74
@@ -127,4 +129,4 @@ curl -X POST \
127
129
}'
128
130
```
129
131
130
-
Once done, you can check your balance again to verify the claim.
132
+
Once done, you can check your balance again to verify the withdrawal. To learn more about this api, see the [Claim App Fee Balance](/references/api/claim-app-fees) API reference.
0 commit comments