Endpoints and Functions

GET v1/platforms

Provides a list of supported blockchains.

GET v1/{ChainID}/tokens

Provides a list of tokens for exchange on blockchains.

GET /v1/{chainID}/gasprices

Provides calculated gas price values in GWEI (nAVAX for Avalanche).

GET /v1/{chainID}/price

Returns best exchange offer, no calldata for transaction.

GET v1/{chainID}/transaction/allowance

Checks how many user’s tokens the exchange smart contract has access to.

GET v1/{chainID}/transaction/approve

Generates transaction input parameters to provide access to the user's tokens for the exchange smart contract.

GET /v1/{chainID}/quote

Returns the best exchange offer and input parameters for the transaction.

Last updated

#88:

Change request updated