user6918: In the wallet I use a transaction gets a "number of confirmations" and is indicated as "low" (red), "medium"(yellow), or "high"(green) confidence based on that number.
I have access to db-sync and can examine all sorts of information about transactions, but am not seeing how "number of confirmations" is derived..?

user4302: Number of confirmations refers to how "deep" the block containing the transaction is in the chain, relative to the current tip. For example, if my transaction was included in block #10, then it will be "confirmed" 5 times once my local copy of the chain is at block #15.
In other words, number of confirmations is the difference between the current block height and the height of the block in which the transaction was initially submitted.

6918: <p>In the wallet I use a transaction gets a &quot;number of confirmations&quot; and is indicated as &quot;low&quot; (red), &quot;medium&quot;(yellow), or &quot;high&quot;(green) confidence based on that number.</p>
<p>I have access to db-sync and can examine all sorts of information about transactions, but am not seeing how &quot;number of confirmations&quot; is derived..?</p>
 4302: <p>Number of confirmations refers to how &quot;deep&quot; the block containing the transaction is in the chain, relative to the current tip. For example, if my transaction was included in block #10, then it will be &quot;confirmed&quot; 5 times once my local copy of the chain is at block #15.</p>
<p>In other words, number of confirmations is the difference between the current block height and the height of the block in which the transaction was initially submitted.</p>
