# getProgramAccounts

From now on, any SPL or SPL-2022 token GPA requests will be routed away from all the nodes and handled on a dedicated memory indexed server for those program accounts. This will prevent poorly formatted requests from negatively impacting the RPC node's performance. This solution is already been replicated and has redundancy built in as we have two servers running these solutions. Initial findings show an extremely faster response time for these GPA requests as opposed to before when the RPC nodes were fulfilling the requests. For those unfamiliar, this applies to the following token accounts for GPA requests:\
`TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA`\
TokenzQdYV1iJj6g9VzBzzWJPKtnP1Ez5QnhrWcvbxC

The caveat is that anyone performing a GPA request for these accounts need to adhere to the following requirements to prevent your request from getting blocked:\
Must contain a filter in the GPA request,\
Must contain a datasize filter that is one of the known lengths for SPL & SPL-2022 tokens,\
When filtering for token accounts must contain at least one memcmp filter. Only the mint and the owner filters are supported. (offset=0 or offset=32),

These restrictions only apply to the SPL token and SPL-2022 token program accounts.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.solanavibestation.com/services/solana-node-services/rpc-services/getprogramaccounts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
