Arken Swap Engine API
API Endpoint: https://public-api.arken.finance
Please refer to Arken API for getting API tokens
Using Arken Finance Swap Engine API, you can find the best route to exchange assets and make the swap. Here are the step-by-step instructions on how to use Arken Swap Engine API:
Find the addresses of the tokens you want to swap. For example, swapping WETH -> USDT
WETH:
0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2USDT:
0xdac17f958d2ee523a2206206994597c13d831ec7
Check for allowance of Arken Approve contract to spend source asset using
/approve/allowanceIf necessary, give approval for Arken Approve contract to spend the source token using
/approve/transactionMonitor the best exchange route using
/swap/quoteWhen you are ready to swap, use
/swap/swapto generate the call data to perform the swap
Chains
Error while loading OpenAPI operation — Failed to fetch OpenAPI file
Health Check
Error while loading OpenAPI operation — Failed to fetch OpenAPI file
Approve
Error while loading OpenAPI operation — Failed to fetch OpenAPI file
Error while loading OpenAPI operation — Failed to fetch OpenAPI file
Error while loading OpenAPI operation — Failed to fetch OpenAPI file
Info
Error while loading OpenAPI operation — Failed to fetch OpenAPI file
Swap
Error while loading OpenAPI operation — Failed to fetch OpenAPI file
Error while loading OpenAPI operation — Failed to fetch OpenAPI file
Last updated