getSlot

Retrieves the current slot number of the Solana blockchain.

Parameters:

None

Returns:

slots - tring - The current slot number on the Solana blockchain

Example:

grpcurl -proto geyser.proto
-H "x-token: <your-token>" 
-d '{}' 
solana.blockpi.network
geyser.Geyser/GetBlockHeight/GetSlot

Last updated

Was this helpful?