Solana Quickstart
The Solana API lets applications connect to a Solana node that is part of the Solana blockchain. Developers can interact with onchain data using the endpoints provided by the API.
Networks
- Mainnet (
HTTPSandWSS)
API Querying
Request example
Use getBlockHeight to request the latest Solana block height from the Solana HTTPS endpoint:
Response example
A successful response returns the latest block height as an integer: