A transaction has not happened before the block with the transaction has been mined and recorded on the ledger (blockchain) with DGB as an example, first confirmation takes 15 sec. LTC 2.5 min, BTC 10 min. etc ,etc