Public blockchains generate revenue through transaction fees paid by users and, in some cases, the issuance of native tokens or cryptocurrencies. Miners or validators in the network earn rewards for their efforts in securing and maintaining the blockchain, while investors can potentially profit from the appreciation of the native tokens or cryptocurrencies.