Instruction to get token rate from API
In this session we show how to get the current rate of token in fiat currency.
This Endpoint will return the token price in CHF, USD and EUR prices.
GET
https://{providerApiEndpoint}/api/v1/token/price
curl --location --request GET 'https://{providerApiEndpoint}/api/v1/token/price' \
--header 'api_key: api_value' \
--data-raw ''
Response body
{
"cryptoCurrency": "BET_VERSE",
"rateForCashCurrency": {
"CHF": 0.098132,
"EUR": 0.1007725,
"USD": 0.1
},
"rateWithDiscountForCashCurrency": {}
}