Get historical fungible token contract rates

Get a paginated list of historical rates for a fungible token within the given time range by its contract package hash.

GET /ft/{contract_package_hash}/rates

Query params

Query param
Description

currency_id

Currency identifier (required)

dex_id

DEX identifier

from

Start of the range in the ISO 8601arrow-up-right format

to

End of the range in the ISO 8601arrow-up-right format

Sorting

Property
Description

timestamp

Sort rates by timestamp

Default sorting is timestamp DESC

Optional properties

None

Response

PaginatedResponse<FTRate>

Example

Last updated