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

# FastGate RPC

> Run supported account queries through your existing ThorEdge RPC URL.

FastGate is ThorNode's account-query route behind ThorEdge RPC. Send a standard routed method to the complete ThorEdge HTTPS URL; a successful query returns its result in a JSON-RPC response.

## Account queries

FastGate routes the account methods below through your existing ThorEdge URL. It does not require a separate hostname or credential.

Choose [Yellowstone gRPC](/products/yellowstone-grpc) when your application needs a persistent filtered stream instead of point-in-time account queries.

## Quick reference

| Item                  | Value                                               |
| --------------------- | --------------------------------------------------- |
| Transport             | HTTPS, JSON-RPC 2.0                                 |
| Endpoint              | Complete ThorEdge RPC URL copied from the dashboard |
| Authentication        | Credential carried by the copied URL                |
| Credential scope      | Selected ThorEdge access, network, and location     |
| Separate FastGate key | None                                                |
| Live limits           | **Usage** and **Limits** in the dashboard           |

## Send an account query

Follow the [FastGate quickstart](/products/fastgate-rpc/quickstart) to read one account and page through a program with `getProgramAccountsV2`.

## Routed methods

FastGate answers these method names sent to the ThorEdge URL:

`getAccountInfo`, `getMultipleAccounts`, `getBalance`, `getTokenAccountBalance`, `getTokenSupply`, `getLargestAccounts`, `getMinimumBalanceForRentExemption`, `getTokenLargestAccounts`, `getProgramAccounts`, `getTokenAccountsByOwner`, `getTokenAccountsByDelegate`, and the ThorNode additions `getProgramAccountsV2`, `getTokenAccountsByOwnerV2`, `getTokenAccountsByDelegateV2`.

Every method has its own page in the [FastGate reference](/api-reference/fastgate/overview) with parameters, response fields, a runnable request, and a real response, plus where FastGate differs from a validator.

## Run in production

* Add selective filters to program-wide queries and request only the account data you need.
* Set explicit connect, request, and response-size limits.
* Treat non-2xx responses and JSON-RPC `error` objects as failures.
* Retry only transient failures with bounded backoff and jitter.
* Send one JSON-RPC request at a time unless the dashboard explicitly enables batch requests for your access.
* Keep the complete RPC URL in a server-side secret store and redact it from telemetry.

## Troubleshooting

| Problem                       | Fix                                                                                      |
| ----------------------------- | ---------------------------------------------------------------------------------------- |
| Unauthorized or forbidden     | Recopy the complete ThorEdge URL and check the optional IPv4 restriction.                |
| Method not found              | Match the method name exactly to the routed list above or use another RPC route.         |
| Invalid params                | Match the Solana definition or V2 fields above; retrying unchanged input will not help.  |
| Response is too large or slow | Add selective filters, request less account data, and set a client response-size limit.  |
| Rate limited                  | Compare traffic with **Usage** and **Limits**, reduce concurrency, and back off retries. |

## Next steps

* [Run the quickstart](/products/fastgate-rpc/quickstart)
* [Read the method reference](/api-reference/fastgate/overview)
* [Create and rotate a ThorEdge endpoint](/products/thoredge-rpc)
* [Filter `getProgramAccounts` requests](/api-reference/fastgate/getprogramaccounts)
* [Protect the complete RPC URL](/reference/security)
