The Joint protocol collects a fee when a swap is completed. Two types of fees exist in the protocol: market and protocol fees.
When a market creator creates a market, it can set a commission that will be deducted from every swap transaction completed in the market. The market fee is optional; the creator can choose to remove it.
The protocol fee is a fee charged by the protocol across all markets and swap transactions.