Get historical fungible token DEX rates

Get a paginated list of historical DEX rates for a fungible token pair using the source token contract package hash and target token contract package hash.

GET /ft/{contract_package_hash}/dex-rates

Query params

Query param
Description

target_contract_package_hash

Target token contract package hash for conversion (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<DexRate>

Example

Last updated