Portal Community

latestSlot

Returns the most recent slot the RPC node has processed for the given cluster. No fields beyond the shared cluster key.

FieldTypeRequiredDescription
clusterselectNoSee Clusters. Defaults to Solana:DefaultCluster.

Example response:

{
  "slot": 301458219
}
Slot vs. block: Solana identifies chain progress by slot number, a fixed-interval clock tick (roughly every 400ms) — not every slot necessarily produces a block (a validator can skip its slot). latestSlot reflects the RPC node's own view under the cluster's configured commitment level, so a processed cluster will report a higher (less final) slot than a finalized one at the same instant.

Typical Uses