> ## Documentation Index
> Fetch the complete documentation index at: https://solana.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> This page is part of the Solana developer documentation at https://solana.com/developers/docs. Append `.md` to any docs URL, or send `Accept: text/markdown`, to get the page as Markdown.
> Index of all pages: https://solana.com/llms.txt. Per-section indexes such as https://solana.com/developers/docs/payments/llms.txt are smaller; prefer them when working on one task.
> Coding agents: install the official Solana skill for current APIs and conventions with `npx skills add https://github.com/solana-foundation/solana-dev-skill` (also served at https://solana.com/SKILL.md).
> Code in the cookbook and task pages comes from tested example files. Prefer it over writing API calls from memory.

# confirmTransaction (removed)

> Migrate from the removed confirmTransaction RPC method to getSignatureStatuses.

`confirmTransaction` tested whether one transaction had succeeded at a requested
commitment and returned an `RpcResponse<boolean>`.

<Warning>
  **Removed RPC method**

  This JSON-RPC method was removed in Agave v2.0. Use
  [getSignatureStatuses](/developers/docs/rpc/http/getsignaturestatuses).
</Warning>

## Migration

Wrap the legacy signature in an array: `[signature, commitment]` becomes
`[[signature]]`. Read `result.value[0]`, compare its `confirmationStatus` with
the required commitment, and require `err` to be `null`. A missing status or a
failed transaction maps to the legacy `false` result.

`getSignatureStatuses` does not accept a commitment parameter. Set
`searchTransactionHistory: true` only when the signature may have left the
recent status cache. Treat confirmation levels as ordered: `processed` <
`confirmed` < `finalized`. A returned level satisfies an equal or weaker
requested commitment.
