Dex 聚合
Quote 相關 API,搜尋最佳報價:
1inch:
https://docs.1inch.io/docs/aggregation-protocol/api/swagger
使用 /swap 獲得到 tx 後,使用 ether.js 發送 sendTransaction
0x:
https://docs.0x.org/0x-api-swap/api-references/get-swap-v1-quote
https://api.0x.org/swap/v1/quote?buyToken=DAI&sellToken=WETH&sellAmount=1000000000000000000
Paraswap:
https://developers.paraswap.network/api/master
Cow Protocol (Meta aggregator):
Last updated