TriportRPC

Solana RPC concept reference

Last updated:

How to use this section

  1. If your problem has a JSON-RPC or HTTP error code, use the RPC error reference instead — every entry there names its code.
  2. If you're reading Solana assets (including compressed NFTs) through the Digital Asset Standard API, open a DAS method below.
  3. Each method page has its parameters, return shape and a runnable code example.

FAQ

What's the difference between Learn and the RPC error reference?
The error reference documents JSON-RPC and HTTP codes, each with a cause and a fix. Learn documents RPC and protocol behavior that has no error code to look up — for example, what the DAS API is and which methods belong to it.
What is the Solana DAS API?
A read-only JSON-RPC API for Solana's Digital Asset Standard: getAsset, getAssetsByOwner, searchAssets and the rest, covering both regular and compressed NFTs.
Where are the RPC methods documented?
Every network's methods are indexed at /docs/methods; DAS methods are listed below and at /learn/das.