Solana
Solana
Solana
Das Free-Tier deckt persönliche Projekte ab. Pay-as-you-go skaliert ohne Karte.
getFirstAvailableBlock returns the lowest confirmed slot that the node still holds in its ledger on Solana, the Proof-of-Stake chain whose native token is SOL. Because Solana produces blocks at roughly 400 ms per slot, a non-archival node prunes old history continuously, so this value rises over time and marks the floor of what you can fetch with getBlock, getBlocks, or getBlockTime. Anything below it has been pruned and needs an archival endpoint. The method takes no parameters and returns a single u64. Call it against https://solana.therpc.io/YOUR_API_KEY as a JSON-RPC 2.0 POST.
Diese Methode erwartet keine Parameter. Übergib ein leeres Array [].
| Typ | Beschreibung |
|---|---|
| integer | u64 lowest available confirmed slot. |
| Code | Meldung | Ursache |
|---|---|---|
-32603 | Internal error | The node hit an internal error serving the request — retry, and reduce the requested range/encoding if it persists. |
minimumLedgerSlot. Use minimumLedgerSlot if you specifically need the lowest slot present in the raw ledger.