Solana Overview

The Solana API Reference documents selected JSON-RPC methods available through Node API endpoints. Use it when your application needs direct Solana node access for cluster health, slots, epochs, account data, SOL supply, blockhashes, and recent performance data.

The generated endpoint reference is built from the OpenRPC specification for Standard API. That spec is the source of truth for method names, parameters, response schemas, examples, and generated method pages.


Chain Description

Solana is a public, decentralized blockchain network designed for high-throughput applications, low-latency transactions, and programs that run on a shared global state. Developers use Solana to build applications for payments, DeFi, NFTs, games, and other onchain workflows.

Networks

  • Mainnet (HTTPS and WSS)

Solana JSON-RPC API: Standard API

The Solana JSON-RPC API provides access to Solana node data and functionality through the JSON-RPC 2.0 interface.

For easier navigation and product differentiation, the available methods are grouped under Standard API. Solana Node API does not use the Ethereum-specific Trace API or Debug API groups.

Standard API methods read cluster status, slots, epochs, accounts, supply, blockhashes, and recent performance data. Requests specify a method such as getHealth, getBlockHeight, or getAccountInfo, together with the corresponding parameters in a JSON request body.

Successful responses include a result value. Failed responses include an error object with error details, so clients should inspect the response body before treating a request as successful.

Together, these methods provide direct access to Solana node data across supported Solana networks, enabling developers to build applications, monitor chain state, and query account or cluster information.

API Endpoints Supported

Standard API

Standard API provides selected Solana JSON-RPC methods for health checks, cluster metadata, account data, supply data, blockhashes, and recent performance samples.

Health

  • getHealth: Get node health.
  • getVersion: Get Solana software version.
  • getGenesisHash: Get genesis hash.
  • getIdentity: Get node identity.

Cluster

  • getSlot: Get current slot.
  • getBlockHeight: Get current block height.
  • getEpochInfo: Get current epoch information.
  • getEpochSchedule: Get epoch schedule.
  • getTransactionCount: Get transaction count.

Accounts

  • getBalance: Get account balance.
  • getAccountInfo: Get account information.
  • getMinimumBalanceForRentExemption: Get minimum balance for rent exemption.
  • getSupply: Get SOL supply.

Blocks

  • getLatestBlockhash: Get latest blockhash.
  • getRecentPerformanceSamples: Get recent performance samples.