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

# getTokenLargestAccounts

> Returns the 20 largest accounts of a particular SPL Token type.

Returns the 20 largest accounts of a particular SPL Token type.

## On ThorNode

Answered by FastGate through the ThorEdge RPC URL; no separate endpoint or key. `commitment` and `minContextSlot` are accepted and ignored: the response reflects FastGate's indexed slot, reported as `context.slot` (no `apiVersion`). The request times out after 30 s. Always the top 20 holders.

## Parameters

<ParamField body="address" type="string" required>
  Solana token mint address to analyze for largest holder accounts and distribution patterns.
</ParamField>

<ParamField body="commitment" type="string">
  The commitment level for the request. Accepted and ignored by FastGate.

  * `confirmed`
  * `finalized`
  * `processed`
</ParamField>

## Response

<ResponseField name="context" type="object">
  Context of the response.

  <Expandable title="properties">
    <ResponseField name="slot" type="integer">
      Slot in which the data was fetched.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="value" type="array">
  List of token accounts with their balances.

  <Expandable title="item">
    <ResponseField name="address" type="string">
      Solana wallet address holding a significant portion of the token supply.
    </ResponseField>

    <ResponseField name="amount" type="string">
      Raw token balance of this major holder account without decimal formatting.
    </ResponseField>

    <ResponseField name="decimals" type="integer">
      Number of decimal places defined by the token for proper balance representation.
    </ResponseField>

    <ResponseField name="uiAmount" type="number">
      Human-readable token balance of this major holder with proper decimal formatting (deprecated).
    </ResponseField>

    <ResponseField name="uiAmountString" type="string">
      Canonical string representation of this major holder's token balance with decimal places.
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --fail-with-body "$THORNODE_RPC_URL" \
    --header 'content-type: application/json' \
    --data '{
      "jsonrpc": "2.0",
      "id": 1,
      "method": "getTokenLargestAccounts",
      "params": [
        "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
      ]
    }'
  ```

  ```javascript Node.js theme={null}
  const body = {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "getTokenLargestAccounts",
    "params": [
      "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
    ]
  };

  const response = await fetch(process.env.THORNODE_RPC_URL, {
    method: "POST",
    headers: { "content-type": "application/json" },
    body: JSON.stringify(body),
  });
  const { result, error } = await response.json();
  console.log(result ?? error);
  ```
</RequestExample>

<ResponseExample>
  ```json Response (truncated to 2 of 20) theme={null}
  {
    "jsonrpc": "2.0",
    "result": {
      "context": {
        "slot": 439749197
      },
      "value": [
        {
          "address": "3emsAVdmGKERbHjmGfQ6oZ1e35dkf5iYcS6U4CPKFVaa",
          "uiAmount": 933123578.58197,
          "decimals": 6,
          "amount": "933123578581970",
          "uiAmountString": "933123578.58197"
        },
        {
          "address": "DT78gNBH7enTRrAFcag4PAuQbSeemstmtj888w8pkvdf",
          "uiAmount": 515359813.601,
          "decimals": 6,
          "amount": "515359813601000",
          "uiAmountString": "515359813.601"
        }
      ]
    },
    "id": 1
  }
  ```
</ResponseExample>
