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

# How to Get Solana Transactions: Complete Retrieval Guide

> Learn how to retrieve and parse Solana transactions using Helius RPC methods and Enhanced Transaction API. Single, batch, and status checking.

Transactions represent all state changes on Solana. Helius provides multiple ways to read transaction data, from raw RPC methods to enhanced transaction APIs.

## Getting a Single Transaction

Retrieve transaction details using the standard RPC method:

```typescript theme={"system"}
const response = await fetch("https://mainnet.helius-rpc.com/?api-key=YOUR_API_KEY", {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    jsonrpc: '2.0',
    id: '1',
    method: 'getTransaction',
    params: [
      '5brUqZacYhjphkFufZsdJoWA3ACTDh7wX5o4ewHiUGPK5zrLWExsFJb1o83q4SidvgegANZMFqocC4cPyymSEdyt',
      {
        encoding: 'json',
        maxSupportedTransactionVersion: 1
      }
    ]
  })
});
const data = await response.json();
console.log('Transaction data:', data);
```

<Card title="API Reference" horizontal icon="code" href="/docs/api-reference/rpc/http/gettransaction">
  getTransaction
</Card>

## Enhanced Transaction History

For richer transaction history with parsed data:

```typescript theme={"system"}
const API_KEY = 'YOUR_API_KEY';
const WALLET_ADDRESS = 'DjPi9wgUDTtYuuL6ZNvhgKJgC8gHaRKtHq6K5ESWbGKt';

const response = await fetch(`https://mainnet.helius-rpc.com/v0/addresses/${WALLET_ADDRESS}/transactions?api-key=${API_KEY}&limit=10`, {
  method: 'GET',
});
const transactions = await response.json();
console.log('Enhanced transaction history:', transactions);
```

<Card title="API Reference" horizontal icon="code" href="/docs/api-reference/enhanced-transactions/gettransactionsbyaddress">
  Get Enhanced Transactions By Address
</Card>

## Transaction Status Checking

Check the status of multiple transactions:

```typescript theme={"system"}
const response = await fetch("https://mainnet.helius-rpc.com/?api-key=YOUR_API_KEY", {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    jsonrpc: '2.0',
    id: '1',
    method: 'getSignatureStatuses',
    params: [
      [
        '5iT4xEsUHJXWuUfX7ypPoP2h2KGLmomsSfdTnjaV67NhRiUptvFTpVM4Gdeve2Mr6Ye8mgFPx4ESLxEPMsK6pmVS',
        '4aRAsUtUSKbz5UAw3z3HZs2wU2NuY614RRfugE8BpfidKrkvjU49VXdSLsT7EPKNRA9KZH1yqkiVKK8aNBoAEdMU'
      ],
      {
        searchTransactionHistory: true
      }
    ]
  })
});
const statuses = await response.json();
console.log('Transaction statuses:', statuses.result);
```

<Card title="API Reference" horizontal icon="code" href="/docs/api-reference/rpc/http/getsignaturestatuses">
  getSignatureStatuses
</Card>
