Solana
Solana
Solana
Free tier covers personal projects. Pay-as-you-go scales without a card.
getMaxShredInsertSlot is a Solana JSON-RPC method that returns the highest slot a node has inserted shreds for — the stage where the node writes received block fragments into its blockstore on the chain that secures SOL. The result is a single u64 slot number. Read alongside getMaxRetransmitSlot, it shows how current the data this node has actually stored is. Send the request as a JSON-RPC 2.0 POST with an empty positional params array to https://solana.therpc.io/YOUR_API_KEY.
This method takes no parameters. Pass an empty array [].
| Type | Description |
|---|---|
| integer | u64 max slot from shred insert. |
| Code | Message | Cause |
|---|---|---|
-32603 | Internal error | The node hit an internal error serving the request — retry, and reduce the requested range/encoding if it persists. |