getLatestBlockhash
Retrieves the latest blockhash from the Solana blockchain, along with its associated slot and last valid block height.
Parameters:
None
Returns:
slots - tring - The slot number associated with the latest blockhash.
blockhash - string - The latest blockhash
lastValidBlockHeight - string - The last block height at which the retrieved blockhash is valid
Example:
Last updated
Was this helpful?