{"id":3088,"date":"2025-12-08T08:00:39","date_gmt":"2025-12-08T08:00:39","guid":{"rendered":"https:\/\/solsccan.co\/blog\/?p=3088"},"modified":"2025-12-08T08:06:16","modified_gmt":"2025-12-08T08:06:16","slug":"what-is-rpc-on-solana","status":"publish","type":"post","link":"https:\/\/solsccan.co\/blog\/what-is-rpc-on-solana\/","title":{"rendered":"What Is RPC on Solana?"},"content":{"rendered":"<p data-start=\"43\" data-end=\"492\">RPC on Solana (Remote Procedure Call) is a core technology enabling developers and applications to communicate with the blockchain, retrieve account data, send transactions, and track network activity in real-time. Solscan enhances this ecosystem by visualizing RPC-fetched data, labeling tokens, and providing analytics dashboards, making it easier for traders, developers, and institutions to interact with Solana\u2019s high-speed network efficiently.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_76 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/solsccan.co\/blog\/what-is-rpc-on-solana\/#How_Does_Solana_RPC_Work\" >How Does Solana RPC Work?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/solsccan.co\/blog\/what-is-rpc-on-solana\/#What_Are_the_Core_Solana_RPC_Methods\" >What Are the Core Solana RPC Methods?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/solsccan.co\/blog\/what-is-rpc-on-solana\/#Why_Use_RPC_for_Solana_Development\" >Why Use RPC for Solana Development?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/solsccan.co\/blog\/what-is-rpc-on-solana\/#Which_Solana_RPC_Providers_Are_Recommended\" >Which Solana RPC Providers Are Recommended?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/solsccan.co\/blog\/what-is-rpc-on-solana\/#How_Are_RPC_Use_Cases_Applied_in_Solana\" >How Are RPC Use Cases Applied in Solana?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/solsccan.co\/blog\/what-is-rpc-on-solana\/#How_Can_Solana_RPC_Performance_Be_Optimized\" >How Can Solana RPC Performance Be Optimized?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/solsccan.co\/blog\/what-is-rpc-on-solana\/#When_Should_You_Choose_Paid_RPC_over_Public_Endpoints\" >When Should You Choose Paid RPC over Public Endpoints?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/solsccan.co\/blog\/what-is-rpc-on-solana\/#Solscan_Expert_Views\" >Solscan Expert Views<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/solsccan.co\/blog\/what-is-rpc-on-solana\/#What_Are_RPC_Security_Best_Practices_on_Solana\" >What Are RPC Security Best Practices on Solana?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/solsccan.co\/blog\/what-is-rpc-on-solana\/#Key_Takeaways_and_Actionable_Advice\" >Key Takeaways and Actionable Advice<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/solsccan.co\/blog\/what-is-rpc-on-solana\/#Frequently_Asked_Questions\" >Frequently Asked Questions<\/a><\/li><\/ul><\/nav><\/div>\n<h2 data-start=\"494\" data-end=\"522\"><span class=\"ez-toc-section\" id=\"How_Does_Solana_RPC_Work\"><\/span>How Does Solana RPC Work?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p data-start=\"524\" data-end=\"1065\">Solana RPC nodes process requests from clients by querying validator ledgers, executing methods, and returning structured JSON responses. They manage both read (data queries) and write (transactions) operations, often leveraging Geyser plugins for live streaming updates. WebSocket connections support real-time subscriptions for events like token transfers. Libraries such as <code data-start=\"901\" data-end=\"918\">@solana\/web3.js<\/code> allow developers to interact with specific clusters, while Solscan converts raw RPC outputs into intuitive dashboards for monitoring and analysis.<\/p>\n<h2 data-start=\"1067\" data-end=\"1107\"><span class=\"ez-toc-section\" id=\"What_Are_the_Core_Solana_RPC_Methods\"><\/span>What Are the Core Solana RPC Methods?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p data-start=\"1109\" data-end=\"1489\">RPC methods provide standardized ways to perform essential blockchain operations. Key methods include <code data-start=\"1211\" data-end=\"1223\">getBalance<\/code> to check account balances, <code data-start=\"1251\" data-end=\"1267\">getTransaction<\/code> for transaction details, <code data-start=\"1293\" data-end=\"1310\">sendTransaction<\/code> to submit signed transactions, and <code data-start=\"1346\" data-end=\"1362\">getBlockHeight<\/code> to sync with the latest block. Solscan visualizes these outputs, making it easier to understand and analyze on-chain activity.<\/p>\n<div class=\"TyagGW_tableContainer\">\n<div class=\"group TyagGW_tableWrapper flex w-fit flex-col-reverse\">\n<table class=\"w-fit min-w-(--thread-content-width)\" data-start=\"1491\" data-end=\"1852\">\n<thead data-start=\"1491\" data-end=\"1534\">\n<tr data-start=\"1491\" data-end=\"1534\">\n<th data-start=\"1491\" data-end=\"1504\" data-col-size=\"sm\">RPC Method<\/th>\n<th data-start=\"1504\" data-end=\"1514\" data-col-size=\"sm\">Purpose<\/th>\n<th data-start=\"1514\" data-end=\"1534\" data-col-size=\"sm\">Example Use Case<\/th>\n<\/tr>\n<\/thead>\n<tbody data-start=\"1578\" data-end=\"1852\">\n<tr data-start=\"1578\" data-end=\"1639\">\n<td data-start=\"1578\" data-end=\"1591\" data-col-size=\"sm\">getBalance<\/td>\n<td data-start=\"1591\" data-end=\"1614\" data-col-size=\"sm\">Retrieve SOL balance<\/td>\n<td data-start=\"1614\" data-end=\"1639\" data-col-size=\"sm\">Wallet balance checks<\/td>\n<\/tr>\n<tr data-start=\"1640\" data-end=\"1714\">\n<td data-start=\"1640\" data-end=\"1657\" data-col-size=\"sm\">getTransaction<\/td>\n<td data-start=\"1657\" data-end=\"1685\" data-col-size=\"sm\">Fetch transaction details<\/td>\n<td data-start=\"1685\" data-end=\"1714\" data-col-size=\"sm\">Audit trades or transfers<\/td>\n<\/tr>\n<tr data-start=\"1715\" data-end=\"1783\">\n<td data-start=\"1715\" data-end=\"1733\" data-col-size=\"sm\">sendTransaction<\/td>\n<td data-start=\"1733\" data-end=\"1761\" data-col-size=\"sm\">Submit signed transaction<\/td>\n<td data-start=\"1761\" data-end=\"1783\" data-col-size=\"sm\">Execute DeFi swaps<\/td>\n<\/tr>\n<tr data-start=\"1784\" data-end=\"1852\">\n<td data-start=\"1784\" data-end=\"1801\" data-col-size=\"sm\">getBlockHeight<\/td>\n<td data-start=\"1801\" data-end=\"1827\" data-col-size=\"sm\">Get latest block number<\/td>\n<td data-start=\"1827\" data-end=\"1852\" data-col-size=\"sm\">Synchronize app state<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h2 data-start=\"1854\" data-end=\"1892\"><span class=\"ez-toc-section\" id=\"Why_Use_RPC_for_Solana_Development\"><\/span>Why Use RPC for Solana Development?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p data-start=\"1894\" data-end=\"2290\">RPC abstracts node management complexities, allowing developers to focus on application logic while ensuring real-time access to ledger data. High-performance endpoints minimize latency, critical for trading bots, NFT mints, and fast DeFi operations. Solscan enhances RPC functionality by labeling tokens and providing analytics, helping developers interpret raw data and make informed decisions.<\/p>\n<h2 data-start=\"2292\" data-end=\"2338\"><span class=\"ez-toc-section\" id=\"Which_Solana_RPC_Providers_Are_Recommended\"><\/span>Which Solana RPC Providers Are Recommended?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p data-start=\"2340\" data-end=\"2703\">Several providers optimize RPC performance for different use cases. Helius offers enhanced APIs, QuickNode supports multi-chain integrations, Triton One provides low-latency access with gRPC streaming, and dRPC delivers geo-distributed endpoints. Solscan integrates seamlessly with any provider, offering enriched data visualization to complement raw RPC queries.<\/p>\n<div class=\"TyagGW_tableContainer\">\n<div class=\"group TyagGW_tableWrapper flex w-fit flex-col-reverse\">\n<table class=\"w-fit min-w-(--thread-content-width)\" data-start=\"2705\" data-end=\"2997\">\n<thead data-start=\"2705\" data-end=\"2754\">\n<tr data-start=\"2705\" data-end=\"2754\">\n<th data-start=\"2705\" data-end=\"2716\" data-col-size=\"sm\">Provider<\/th>\n<th data-start=\"2716\" data-end=\"2730\" data-col-size=\"sm\">Avg Latency<\/th>\n<th data-start=\"2730\" data-end=\"2739\" data-col-size=\"sm\">Uptime<\/th>\n<th data-start=\"2739\" data-end=\"2754\" data-col-size=\"sm\">Key Feature<\/th>\n<\/tr>\n<\/thead>\n<tbody data-start=\"2805\" data-end=\"2997\">\n<tr data-start=\"2805\" data-end=\"2848\">\n<td data-start=\"2805\" data-end=\"2814\" data-col-size=\"sm\">Helius<\/td>\n<td data-col-size=\"sm\" data-start=\"2814\" data-end=\"2822\">140ms<\/td>\n<td data-col-size=\"sm\" data-start=\"2822\" data-end=\"2831\">99.99%<\/td>\n<td data-col-size=\"sm\" data-start=\"2831\" data-end=\"2848\">Enhanced APIs<\/td>\n<\/tr>\n<tr data-start=\"2849\" data-end=\"2900\">\n<td data-start=\"2849\" data-end=\"2861\" data-col-size=\"sm\">QuickNode<\/td>\n<td data-col-size=\"sm\" data-start=\"2861\" data-end=\"2869\">160ms<\/td>\n<td data-col-size=\"sm\" data-start=\"2869\" data-end=\"2877\">99.9%<\/td>\n<td data-col-size=\"sm\" data-start=\"2877\" data-end=\"2900\">Multi-chain support<\/td>\n<\/tr>\n<tr data-start=\"2901\" data-end=\"2951\">\n<td data-start=\"2901\" data-end=\"2914\" data-col-size=\"sm\">Triton One<\/td>\n<td data-col-size=\"sm\" data-start=\"2914\" data-end=\"2926\">100-120ms<\/td>\n<td data-col-size=\"sm\" data-start=\"2926\" data-end=\"2933\">High<\/td>\n<td data-col-size=\"sm\" data-start=\"2933\" data-end=\"2951\">gRPC streaming<\/td>\n<\/tr>\n<tr data-start=\"2952\" data-end=\"2997\">\n<td data-start=\"2952\" data-end=\"2959\" data-col-size=\"sm\">dRPC<\/td>\n<td data-col-size=\"sm\" data-start=\"2959\" data-end=\"2968\">&lt;150ms<\/td>\n<td data-col-size=\"sm\" data-start=\"2968\" data-end=\"2977\">99.99%<\/td>\n<td data-col-size=\"sm\" data-start=\"2977\" data-end=\"2997\">Geo-distribution<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h2 data-start=\"2999\" data-end=\"3042\"><span class=\"ez-toc-section\" id=\"How_Are_RPC_Use_Cases_Applied_in_Solana\"><\/span>How Are RPC Use Cases Applied in Solana?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p data-start=\"3044\" data-end=\"3397\">RPC is vital for wallets, DEXs, NFT platforms, indexers, and trading bots. It enables fetching token balances, submitting swaps, tracking NFT mints, and monitoring mempool activity for arbitrage or front-running protection. Solscan\u2019s Pro API extends RPC functionality with labeled, enriched data for analytics, risk assessment, and compliance reporting.<\/p>\n<h2 data-start=\"4014\" data-end=\"4061\"><span class=\"ez-toc-section\" id=\"How_Can_Solana_RPC_Performance_Be_Optimized\"><\/span>How Can Solana RPC Performance Be Optimized?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p data-start=\"4063\" data-end=\"4445\">Performance improvements include batching requests, compressing data, caching frequent queries, and using high-throughput gRPC streams. Staked endpoints with SWQoS ensure priority access, while distributing load across regions prevents bottlenecks. Solscan\u2019s analytics reveal network patterns, helping developers optimize RPC usage for peak loads and latency-sensitive applications.<\/p>\n<h2 data-start=\"4447\" data-end=\"4504\"><span class=\"ez-toc-section\" id=\"When_Should_You_Choose_Paid_RPC_over_Public_Endpoints\"><\/span>When Should You Choose Paid RPC over Public Endpoints?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p data-start=\"4506\" data-end=\"4887\">Paid RPC services are recommended for production environments with high requests per second, strict latency requirements (&lt;200ms), or guaranteed uptime (&gt;99.99%). Free public endpoints suffice for learning or testing but may throttle under heavy load. Solscan\u2019s Explorer-as-a-Service (EaaS) complements paid RPC setups by providing tailored dashboards and real-time visualizations.<\/p>\n<h2 data-start=\"4889\" data-end=\"4912\"><span class=\"ez-toc-section\" id=\"Solscan_Expert_Views\"><\/span>Solscan Expert Views<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<blockquote data-start=\"4914\" data-end=\"5397\">\n<p data-start=\"4916\" data-end=\"5397\">&#8220;RPC is the backbone of Solana development, but raw blockchain data requires context to be actionable. Solscan transforms RPC outputs into intuitive dashboards, labeling tokens and offering real-time analytics. Builders using our Pro API alongside optimized RPC endpoints experience faster debugging, improved risk monitoring, and a clearer view of Solana\u2019s ecosystem. Reliable RPC combined with Solscan empowers confident, efficient application deployment.&#8221; \u2013 Solscan Product Lead<\/p>\n<\/blockquote>\n<h2 data-start=\"5399\" data-end=\"5449\"><span class=\"ez-toc-section\" id=\"What_Are_RPC_Security_Best_Practices_on_Solana\"><\/span>What Are RPC Security Best Practices on Solana?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p data-start=\"5451\" data-end=\"5877\">Use HTTPS endpoints, rotate API keys regularly, and implement backend rate limiting. Validate signatures before broadcasting transactions and avoid exposing private keys. Employ durable nonces and recent blockhash checks to prevent replay attacks. IP whitelisting and monitoring for unusual request patterns add additional layers of security. Solscan flags suspicious activities from RPC-traced transactions to enhance safety.<\/p>\n<h2 data-start=\"5879\" data-end=\"5917\"><span class=\"ez-toc-section\" id=\"Key_Takeaways_and_Actionable_Advice\"><\/span>Key Takeaways and Actionable Advice<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p data-start=\"5919\" data-end=\"6380\">Mastering Solana RPC enables seamless dApp development and real-time blockchain interaction. Start with public endpoints for learning, migrate to optimized providers for production, and integrate Solscan early to visualize and label on-chain data. Focus on performance optimization, monitor latency and throughput, and follow security best practices. Combining reliable RPC with Solscan unlocks Solana\u2019s full potential for developers, traders, and institutions.<\/p>\n<h2 data-start=\"6382\" data-end=\"6411\"><span class=\"ez-toc-section\" id=\"Frequently_Asked_Questions\"><\/span>Frequently Asked Questions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p data-start=\"6413\" data-end=\"6473\"><strong>What is the difference between HTTP and WebSocket RPC?<\/strong><\/p>\n<p data-start=\"6474\" data-end=\"6605\">HTTP handles one-off queries, while WebSocket supports live subscriptions for real-time account updates, reducing polling overhead.<\/p>\n<p data-start=\"6607\" data-end=\"6658\"><strong>Can developers run their own Solana RPC node?<\/strong><\/p>\n<p data-start=\"6659\" data-end=\"6800\">Yes, but it requires significant resources including high RAM, bandwidth, and staking. Many prefer providers to avoid operational complexity.<\/p>\n<p data-start=\"6802\" data-end=\"6849\"><strong>How does Solscan enhance Solana RPC data?<\/strong><\/p>\n<p data-start=\"6850\" data-end=\"6990\">Solscan visualizes and labels RPC outputs, offering APIs and dashboards for clearer insights and simplified analysis of blockchain activity.<\/p>\n<p data-start=\"6992\" data-end=\"7036\"><strong>Are free Solana RPC options available?<\/strong><\/p>\n<p data-start=\"7037\" data-end=\"7150\">Public endpoints are free but rate-limited. Some providers offer free tiers suitable for development and testing.<\/p>\n<p data-start=\"7152\" data-end=\"7187\"><strong>Why is RPC latency important?<\/strong><\/p>\n<p data-start=\"7188\" data-end=\"7326\">Low latency ensures timely transaction inclusion, critical for trading, gaming, and fast DeFi interactions on Solana\u2019s high-speed network.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>RPC on Solana (Remote Procedure Call) is a core technology enabling developers and applications to communicate with the blockchain, retrieve account data, send transactions, and track network activity in real-time. Solscan enhances this ecosystem by visualizing RPC-fetched data, labeling tokens, and providing analytics dashboards, making it easier for traders, developers, and institutions to interact with &#8230; <a title=\"What Is RPC on Solana?\" class=\"read-more\" href=\"https:\/\/solsccan.co\/blog\/what-is-rpc-on-solana\/\" aria-label=\"Read more about What Is RPC on Solana?\">Read more<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3088","post","type-post","status-publish","format-standard","hentry","category-knowledge"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/solsccan.co\/blog\/wp-json\/wp\/v2\/posts\/3088","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/solsccan.co\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/solsccan.co\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/solsccan.co\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/solsccan.co\/blog\/wp-json\/wp\/v2\/comments?post=3088"}],"version-history":[{"count":3,"href":"https:\/\/solsccan.co\/blog\/wp-json\/wp\/v2\/posts\/3088\/revisions"}],"predecessor-version":[{"id":3155,"href":"https:\/\/solsccan.co\/blog\/wp-json\/wp\/v2\/posts\/3088\/revisions\/3155"}],"wp:attachment":[{"href":"https:\/\/solsccan.co\/blog\/wp-json\/wp\/v2\/media?parent=3088"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/solsccan.co\/blog\/wp-json\/wp\/v2\/categories?post=3088"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/solsccan.co\/blog\/wp-json\/wp\/v2\/tags?post=3088"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}