> ## 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.

# Wie man Solana-Kontodaten erhält

> Lesen Sie den Solana-Kontostand mit Standard-RPC-Methoden — getAccountInfo, getMultipleAccounts, getProgramAccounts und getBalance.

## Was sind Kontodaten?

Jedes Stück Zustand auf Solana befindet sich in einem Konto — Wallets, Token-Konten und Programmzustand (Smart Contract). Mit den Kontomethoden wird der Zustand direkt nach Adresse gelesen: die rohen oder analysierten Daten, das besitzende Programm, der Lamport (SOL)-Saldo und die Mietmetadaten.

Für umfassendere Token- und NFT-Daten verwenden Sie die [Tokens & NFTs](/docs/de/das-api) APIs anstelle von Rohkontenlesen. Für die Transaktionshistorie siehe [Transactions](/docs/de/rpc/historical-data).

## Welche Methode sollte ich verwenden?

| Was Sie brauchen                                               | Verwenden Sie dies        |
| -------------------------------------------------------------- | ------------------------- |
| Der vollständige Inhalt eines Kontos                           | **`getAccountInfo`**      |
| Mehrere Konten in einer einzigen Anfrage (bis zu 100)          | **`getMultipleAccounts`** |
| Jedes Konto, das von einem Programm besessen wird, mit Filtern | **`getProgramAccounts`**  |
| Nur der SOL-Saldo eines Kontos                                 | **`getBalance`**          |

## Schlüsselmethoden

<CardGroup cols={2}>
  <Card title="getAccountInfo" icon="circle-info" href="/docs/de/rpc/guides/getaccountinfo">
    Vollständiger Kontostand für eine einzelne Adresse — Daten, Besitzer, Lamports und Mietepoch.
  </Card>

  <Card title="getMultipleAccounts" icon="layer-group" href="/docs/de/rpc/guides/getmultipleaccounts">
    Bis zu 100 Konten in einem Anruf abrufen — der effiziente Weg, um viele Konten gleichzeitig zu lesen.
  </Card>

  <Card title="getProgramAccounts" icon="diagram-project" href="/docs/de/rpc/guides/getprogramaccounts">
    Jedes Konto, das von einem Programm besessen wird, mit `memcmp` und `dataSize` Filtern für gezielte Abfragen.
  </Card>

  <Card title="getBalance" icon="scale-balanced" href="/docs/de/rpc/guides/getbalance">
    Der Lamport (SOL)-Saldo eines einzelnen Kontos.
  </Card>
</CardGroup>

## Schnellstart

Lesen Sie ein einzelnes Konto mit `getAccountInfo`. Jeder Solana-RPC-Aufruf geht an denselben Endpunkt mit Ihrem API-Schlüssel von [dashboard.helius.dev](https://dashboard.helius.dev).

<CodeGroup>
  ```typescript 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: 'getAccountInfo',
      params: ['86xCnPeV69n6t3DnyGvkKobf9FdN2H9oiVDdaMpo2MMY', { encoding: 'jsonParsed' }],
    }),
  });

  const { result } = await response.json();
  console.log(result.value);
  ```

  ```python Python theme={"system"}
  import requests

  url = "https://mainnet.helius-rpc.com/?api-key=YOUR_API_KEY"
  payload = {
      "jsonrpc": "2.0",
      "id": "1",
      "method": "getAccountInfo",
      "params": ["86xCnPeV69n6t3DnyGvkKobf9FdN2H9oiVDdaMpo2MMY", {"encoding": "jsonParsed"}],
  }
  print(requests.post(url, json=payload).json()["result"]["value"])
  ```

  ```bash cURL theme={"system"}
  curl https://mainnet.helius-rpc.com/?api-key=YOUR_API_KEY \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{
      "jsonrpc": "2.0",
      "id": "1",
      "method": "getAccountInfo",
      "params": ["86xCnPeV69n6t3DnyGvkKobf9FdN2H9oiVDdaMpo2MMY", { "encoding": "jsonParsed" }]
    }'
  ```
</CodeGroup>

Lesen Sie viele Konten? Verwenden Sie `getMultipleAccounts` mit einem Array von Adressen anstelle einer Schleife `getAccountInfo` — eine Anfrage gibt bis zu 100 Konten zurück.

## Nächste Schritte
