Why does Solana getBlock sometimes time out or run slow, and how do I fix it
Last updated: August 25, 2026
Some Solana blocks contain a large volume of transaction data. A response from getBlock for one of these blocks can exceed 10 MB, and transferring that much data takes measurably longer than a typical block response. This is a property of the network and the method itself, not a sign of a problem with the RPC endpoint.
Why this shows up as a timeout
If your client enforces a short timeout on RPC calls (for example, a few seconds before falling back to another provider), an unusually large block can push the total transfer time past that limit even when the node processed and started returning the request promptly. The delay comes from the time needed to send all the bytes, not from a slow or unresponsive node.
In practice, this affects only a small share of getBlock calls. Most blocks return quickly; it is specifically the largest blocks that drive up tail latency (p99) for this method.
Reduce end-to-end latency with response compression
Enabling zstd response compression on your client noticeably cuts the time needed to receive large getBlock payloads. For very large block responses, zstd compression has been measured to reduce end-to-end latency by as much as 54% compared to an uncompressed response.
To use it, make sure your HTTP client accepts zstd-encoded responses (typically by including zstd in the request's Accept-Encoding header) rather than requesting only identity or gzip.
Other things to check
If you see occasional timeouts specifically on
getBlock, confirm whether your client-side timeout is tight relative to the size of blocks you are fetching, and consider a longer timeout or a retry specifically for this method.Check the Alchemy status page to rule out a broader network incident before assuming the issue is payload size related.
If you're still seeing unexpected timeouts or errors after trying the above, reach out to support@alchemy.com with the request method, timestamp, and any error codes you observed.