Use case

To offer your End Users a smooth user experience, when your End Users place an order, we advise you to convert it in the other currency. If the order is in EUR, you can display the price in XTZ and conversely if the order is in XTZ, you can display the price in EUR.

  • As an End User, when I type an amount in XTZ to withdraw to an external Tezos wallet, I might want to be able to check how much is this amount in EUR.

  • When an End User places an order in EUR (by credit card) for a specific listing, he can wonder how much it is worth in XTZ and conversely

  • when an End User places an order in XTZ for a specific listing, he can wonder how much it is worth in EUR.

API

Here is the link to the API documentation to convert a price in another specific currency:

https://sandbox.nfts.eniblock.fr/redoc/listings-trades#operation/getExchangeRate