Skip to main content
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 when your application needs a persistent filtered stream instead of point-in-time account queries.

Quick reference

Send an account query

Follow the FastGate 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 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

Next steps