I'm trying to understand if JSON RPC function getTransaction with { commitment: "confirmed" } config is safe enough to say transaction is valid.
I want to check if user A sent 1 SOL to user B. So I'll check a lot of fields from getTransaction() response. Errors, balance changes etc.
But what is the risk if I check the response I get with commitment "confirmed" instead of commitment "finalized"?