Get the latest fungible token contract rate

Get the latest daily rate for a fungible token by its contract package hash.

GET /ft/{contract_package_hash}/daily-rates/latest

Query params

Query param
Description

currency_id

Currency identifier (required)

dex_id

DEX identifier

Sorting

None

Optional properties

None

Response

FTDailyRate

Example

curl -X 'GET' \
  'https://api.cspr.cloud/ft/F5E3729B502597FDD7BE9ECEDB6F73E4530F5E8A4C809F269D757677CBE49B78/daily-rates/latest?currency_id=1' \
  -H 'accept: application/json' \
  -H 'authorization: 55f79117-fc4d-4d60-9956-65423f39a06a'

Last updated