Decentralized exchanges operate on blockchain networks, typically utilizing smart contracts to execute trades. These smart contracts require computational resources to validate and record transactions accurately.
Fees serve as an incentive for network participants, often referred to as "miners" or "validators," who contribute their computational power and maintain the integrity of the blockchain by verifying transactions. The fees compensate them for their efforts and encourage a secure and efficient network.
Fees on Ethereum mainnet network need to be paid with ETH and fees on Polygon need to be paid with MATIC.