For AI agents: an LLM-friendly Markdown version of every page is available by appending .md to its URL or by sending an Accept: text/markdown request header. The full documentation index is at https://www.ankr.com/docs/llms.txt
Skip to main content

Solana


Solana API is available on Web3 API platform.

Solana is a decentralized blockchain built to enable scalable, user-friendly apps for the world.

In order for your Web3 application to interact with the Solana blockchain — either by reading blockchain data or sending transactions to the network — it must connect to a Solana node. Developers interact with the blockchain using the methods provided by the API.

The API interaction follows the JSON-RPC which is a stateless, lightweight remote procedure call (RPC) protocol. It defines several data structures and the rules around their processing. It is transport agnostic in that the concepts can be used within the same process, over sockets, over HTTP, or in many various message-passing environments. It uses JSON (RFC 4627) as data format.

info

Transaction history window. Ankr Solana RPC nodes are configured with a ledger size of ~100M, which retains approximately the last 16 hours of transaction history. Requests via getTransaction, getBlock, getSignaturesForAddress, etc. for slots older than this window will return null or an error. For deeper historical lookups, use a Solana archive provider or a block explorer API.

Methods



Methods

Methods

Methods

Methods