isBlockhashValid
Checks whether a given blockhash is still valid on the Solana blockchain.
Parameters:
blockhash - bytes - The blockhash you want to validate
Returns:
valid - boolean - A boolean value (true or false) indicating whether the blockhash is still valid
slot - string - The slot number associated with the blockhash
Example:
1
Last updated
Was this helpful?