How to add 1inch api DEX Course

Uncaught runtime errors:
Network Error
AxiosError: Network Error
at XMLHttpRequest.handleError (http://localhost:3000/static/js/bundle.js:116741:14)

I suspect this error is caused by old 1inch public api being deprecated. I updated 5.0 to 5.2 in the api but obviously i need to add the api key somewhere but dunno where. In the swap.js?

This is about this course

Hi @KemalCleva, I’d suggest checking the 1inch Swap API docs here -, you’ll find more details on how to use the updated API

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.