Currencies and rates

Get USD rate

Get currency USD rate by currency blockchain's address

SecurityApiKeyAuth
Request
path Parameters
currencyId
required
string (CurrencyId)

Currency Id, has format ETHEREUM:${token} or ETHEREUM:${token}:${tokenId}

Example: ETHEREUM:0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
query Parameters
at
required
string <date-time>

Date and time for getting currency USD rate (if not specified, returns actual rate)

Example: at=2022-01-01T12:00:00Z
Responses
200

OK

400

Bad Request

500

Internal Server Error

get/v0.1/currencies/{currencyId}/rates/usd
Response samples
application/json
{
  • "currencyId": "usdc",
  • "symbol": "usdc",
  • "abbreviation": "string",
  • "rate": 123456.789,
  • "date": "2019-08-24T14:15:22Z"
}

Get supported currencies

List of currencies, supported by Protocol

SecurityApiKeyAuth
Responses
200

OK

400

Bad Request

500

Internal Server Error

get/v0.1/currencies/all
Response samples
application/json
{
  • "currencies": [
    ]
}