It seems to be a common sense that validation process on the blockchain is very fast. I wonder how fast the process could be? How long does it usually take to validate a transaction? What will be done to validate a transaction?
There are different factors that affect the time to consider a transaction as validated.
- Gas price: the lower it is defined in the transaction, the more time to be picked up by miners. You can check that in ETH Gas Station.
- Network congestion: if there is a high number of transactions to be processed during a certain period, this will affect also the gas price (newer transactions might increase the gas price to go faster, so the rest will have to wait more).
- Number of block confirmations: the more you set, the more you wait, being 12 blocks as an overall safe value (this is to avoid potential forks or uncle (orphaned) blocks).
If the average time to mine a block is around 14 seconds (nowadays), then you can estimate the time to validate a transaction depending on the decisions you make on the above points.