---
title: getConfirmedTransaction (removed)
description: Migrate from getConfirmedTransaction to getTransaction.
url: /docs/rpc/deprecated/getconfirmedtransaction
type: reference
related:
  - /docs/rpc/deprecated
  - /docs/rpc/http/gettransaction
---

`getConfirmedTransaction` returned transaction details for one confirmed
transaction signature.

<Callout type="warn" title="Removed RPC method">
  This method was removed in Agave v2.0. Use
  [getTransaction](/docs/rpc/http/gettransaction).
</Callout>

## Migration

Keep the transaction signature as the first parameter. Use the object form for
the second parameter, set `commitment: "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.
