Skip to content

Overview

Note

Private endpoints are comming soon!

Please read the Introduction first.

REST API Endpoint

The REST API endpoint is https://api.dex.blue/rest/v1

Token Amount Representations

Every amount is represented as an integer in smallest denomination of the token. In the case of ETH this is wei (1 ETH is 1,000,000,000,000,000,000 wei). Most Tokens use 18 decimals, but some use e.g. 8. This means you always have to calculate with the number of decimals specified in the tokens smart contract or the one obtained at the /listed endpoint.

To prevent rounding errors, all amounts have to be submitted as a string.

Server Timezone

All timestamps sent by the server are in UTC time.