Solana
Solana
Solana
O plano gratuito cobre projetos pessoais. O pay-as-you-go escala sem cartão de crédito.
getLargestAccounts returns the 20 Solana accounts holding the most native SOL, each as an { address, lamports } pair ranked by lamport balance (1 SOL = 1,000,000,000 lamports). It gives a quick top-of-the-book view of where SOL is concentrated across the network. Call it as a JSON-RPC 2.0 POST with positional params against https://solana.therpc.io/YOUR_API_KEY, and pass an optional filter of circulating or nonCirculating to look at just one class of holders.
filter: "circulating" or filter: "nonCirculating".| # | Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|---|
| 1 | config | object | Não | Options: commitment, filter (circulating | nonCirculating). |
| Tipo | Descrição |
|---|---|
| object | RpcResponse wrapping an array of { address, lamports }. |
| Código | Mensagem | Causa |
|---|---|---|
-32602 | Invalid params | A param is missing, of the wrong type, or malformed (e.g. a non-base58 pubkey or a bad config field). |
-32603 | Internal error | The node hit an internal error serving the request — retry, and reduce the requested range/encoding if it persists. |