Skip to main content

Asset Coverage

Pragma supports a wide range of cryptocurrency pairs and currencies with ongoing expansion
Pragma supports specific pairs that are listed and traded by our data partners. We also support a broader concept of currencies (each pair is a price of the quote currency in terms of the base currency). For pairs not listed, their price can be deduced by “hoping” using pairs that are listed, e.g. we can combine ETH/USD and BTC/USD to get a ETH/BTC feed.
Please read the risk section and contact us before integrating.

Market prices

The following asset pairs are officially supported by Pragma. More are added every week, so just reach out on Twitter or Discord if you have a specific one you need. These are all market rates, computed based on the median price across the most liquid markets.
The pair_id is calculated by utf-8 encoding the uppercased string (e.g. str_to_felt(“BTC/USD”)) and used to refer to specific feeds on-chain.
We have a conversion rate feed available for most of the LSTs/LRTs. We strongly encourage you to use those, especially for xSTRK and sSTRK, given the low number of sources available on the market rate. You shouldn’t go in prod with the market rate for these assets until we add more sources.
The WSTETH/USD price is not a market rate — it is computed offchain using the wstETH/stETH conversion rate. Keep this in mind when integrating.

Currencies & Rebasing

If you want the price of one asset that Pragma lists in the price of another asset also listed (e.g. the price of BTC/ETH), you can simply get the result by calling the get_data_with_USD_hop endpoint. In that case, the result will have as many decimals as the base asset you are requesting, e.g. for BTC/ETH it would be 18 decimals because the base unit of ETH is wei where 10^18 wei = 1 ETH.
Abstract currencies are not tracking a specific token but rather a broader concept or fiat currency. E.g. there is a difference between the ETH/USD price in the abstract and the ETH/USDC price that can be had in a specific AMM pool.
USDPLUS is exactly the same as USD but with 18 decimals to account for assets with very low price such as memecoins.

Fixed Price

Fixed 1$ Rate

We have introduced a fixed price pair FIXEDRESERVED/USD for consumers who want to have a fixed rate of 1$. The resulting fixed price will have 8 decimals.

Conversion Rates

LST/LRT Conversion Rates

These specialized feeds automatically calculate the conversion rate for liquid staking and liquid restaking tokens.
Supported feeds:
For implementation details and code examples, see the Conversion Rate section in the development documentation.

Exchange Rates

The current exchange rate implementation is a v1 permissioned system without L1->L2 messaging. We’re actively developing a permissionless version that will leverage L1->L2 messaging, though this will require additional time for completion and audit.

Need More Assets?

Request New Assets

Need a specific asset that’s not listed here? We’re constantly expanding our coverage.