Endpoint URL Structure
Path Parameters
{cluster} (required)
Specifies the Solana cluster targeted for transactions.
Supported Clusters:
| Cluster Value | Description |
|---|---|
mainnet | Solana Mainnet Beta |
devnet | Solana Development Network |
Query Parameters
apiKey (required)
The unique authentication key assigned to your project.
Example:
Usage Example
Below is a basic example demonstrating how to build a transaction:Security Best Practices
Protecting Your API Key:- Do not expose API keys in client-side code, repositories, or publicly accessible areas.
- Store API keys using environment variables or dedicated secrets management tools.
- Maintain separate API keys for distinct environments (development, staging, production).