Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@
"references/api/get-chains",
"references/api/get-chains-liquidity",
"references/api/get-currencies-v2",
"references/api/get-currency-classifications",
"references/api/get-token-price",
"references/api/transactions-index",
"references/api/transactions-single",
Expand Down
2 changes: 2 additions & 0 deletions references/api/api_core_concepts/fees.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ In any given token swap or bridge powered by Relay, there are four potential fee

If you are interested in learning how app fees work, and how you can add them to your quotes please check out our [App Fees Doc](/features/app-fees).

To check how a token is classified programmatically, use [`GET /currencies/classifications`](/references/api/get-currency-classifications), which returns the current stable and major symbol lists; any token in neither list is treated as minor.

_Please note that the above fee structure applies to standard cases. In certain cases, such as route-specific campaigns or promotions, different fees may apply._

## Fees in the API
Expand Down
9 changes: 9 additions & 0 deletions references/api/get-currency-classifications.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: "Get Currency Classifications"
description: "Get the token symbols Relay classifies as stable or major for fee categories"
openapi: get /currencies/classifications
---

<Note>
The response lists the token symbols (lowercase) currently classified as **stable** and **major** — the live source of the fee-category lists in [Fees](/references/api/api_core_concepts/fees). There is no `minor` list: any token in neither array is treated as minor for fees. Classification is by symbol, not by contract address, and the lists can change as Relay adds tokens.
</Note>
Loading