The generation of a transaction hash depends on the specific blockchain network and its current congestion levels. In general, transaction hashes are generated almost instantly after a transaction is broadcasted to the blockchain network.