Learn getMaxShredInsertSlot use cases, code examples, request parameters, response structure, and tips.
getMaxShredInsertSlot
RPC method returns the highest slot number for which the queried RPC node has successfully received and processed (inserted) shreds. Shreds are the constituent parts of Solana blocks, propagated via Turbine. This value provides insight into how current the node is with the network’s block production from the perspective of data ingestion.
Understanding this metric is useful for assessing a node’s ability to keep up with the rest of the network.
maxShredInsertSlot
with the cluster’s latest slot. A significant lag can indicate that the node is falling behind in processing incoming block data.maxShredInsertSlot
that isn’t advancing or is far behind other nodes, it could point to issues with its shred intake process, potentially related to network connectivity or local processing capacity.result
field of the JSON-RPC response will be a u64
(unsigned 64-bit integer) representing the maximum slot for which the node has inserted shreds.
maxShredInsertSlot
is particular to the RPC node being queried. Different nodes can have varying values at the same moment due to differences in network latency and processing speeds.getSlot
with finalized
commitment for finality checks.maxRetransmitSlot
: Typically, maxShredInsertSlot
will be less than or equal to maxRetransmitSlot
. A node first sees shreds via retransmit and then processes and inserts them.getMaxShredInsertSlot
, you can gain valuable insights into a Solana node’s progress in receiving and processing block data, which is essential for monitoring its health and synchronization with the network.