> For the complete documentation index, see [llms.txt](https://docs.triton.one/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.triton.one/solana/rpc-methods/readme/das-api/gettokenaccounts.md).

# getTokenAccounts

Returns DAS token accounts for a mint or an owner address, to list the holders of an SPL token or the tokens an address holds.

## Request

{% tabs %}
{% tab title="cURL" %}

```bash
curl "https://<your-endpoint>.mainnet.rpcpool.com/<your-token>" -s -X POST \
  -H "Content-Type: application/json" \
  -d '{
    "id": "123",
    "jsonrpc": "2.0",
    "method": "getTokenAccounts",
    "params": {
      "mintAddress": "BUaiggSfm81ZRAeW572dNf1BhXCzZxaWrGNRm5PjSQzY",
      "ownerAddress": "BiKcVb6t6YDZczYjWLjXKwdgAUecdQrp1EJXAfRmu3VR",
      "page": 1,
      "limit": 100
    }
}'
```

{% endtab %}
{% endtabs %}

## Parameters

| Name           | Description                                                                                                                                        | Required            |
| -------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- |
| `mintAddress`  | The address of associated mint.                                                                                                                    | Yes or ownerAddress |
| `ownerAddress` | The owner address of the tokens.                                                                                                                   | Yes or mintAddress  |
| `page`         | The current pagination page, starting at 1.                                                                                                        | No                  |
| `limit`        | Number of results per page, up to 1000 (the default).                                                                                              | No                  |
| `cursor`       | Optional pagination cursor.                                                                                                                        | No                  |
| `before`       | Return results before the given token account address.                                                                                             | No                  |
| `after`        | Return results after the given token account address.                                                                                              | No                  |
| `options`      | Set `{ "showZeroBalance": true }` to include token accounts with a zero balance, which are left out by default. Also accepted as `displayOptions`. | No                  |

***

*Adapted from the* [*Metaplex `getTokenAccounts` reference*](https://www.metaplex.com/docs/dev-tools/das-api/methods/get-token-accounts)*, maintained by the Metaplex Foundation.*

***

<i class="fa-life-ring">:life-ring:</i> Contact support by clicking the chat icon in your [customer dashboard](https://customers.triton.one)\ <i class="fa-briefcase">:briefcase:</i> Sales questions? [Contact us](https://triton.one/contact)\ <i class="fa-sparkles">:sparkles:</i> AI agent? Read [llms.txt](https://docs.triton.one/llms.txt)\ <i class="fa-rss">:rss:</i> Follow updates: [Blog](https://blog.triton.one) · [X](https://x.com/triton_one) · [YouTube](https://www.youtube.com/@triton_one_ltd) · [Telegram](https://t.me/tritonone) · [GitHub](https://github.com/rpcpool)
