Build A Web3 DEX | FULL COURSE | commissions to the exchange?

I followed the tutorial from Youtube video “Build A Web3 DEX | FULL COURSE | React, Node, Moralis, 1Inch”. Now I would like to know how to make a code so that when a person pays for gas, some commissions come to the exchange?

Hi, we are handling the swap data using 1inch, it should be possible to add that with their api
You can check the docs for their api here https://portal.1inch.dev/documentation/authentication

1 Like