getConfirmedTransaction returned transaction details for one confirmed
transaction signature.
Removed RPC methodThis method was removed in Agave v2.0. Use
getTransaction.
Migration
Keep the transaction signature as the first parameter. Use the object form for the second parameter, setcommitment: "confirmed", carry over the desired
encoding, and set maxSupportedTransactionVersion when the client supports
versioned transactions. The replacement returns null when the transaction is
not found at that commitment.