The confirmTransaction method is being deprecated. Instead there's a sendandconfirmtransaction method but that is not available on the connection object, so I can't use for transactions that are to be signed using phantom.
I have a transaction hash(signature) after the transaction so I'm trying to confirm if a transaction was done on the backend using the transaction hash, how is this possible?