Public blockchains typically use a volatile coin to pay transaction fees - e.g. ETH for Ethereum or AVAX for Avalanche. While transaction fees are typically low as long as the limited block space is not filled, transaction fees become outrageously high, once blocks are filled - e.g. in Ethereum simple transactions can easily cost 5 EUR.