isBlockhashValid abstract method

Future<BlockhasValidResult> isBlockhashValid(
  1. String blockhash, {
  2. Commitment? commitment,
  3. num? minContextSlot,
})

Returns whether a blockhash is still valid or not

blockhash The blockhash of this block, as base-58 encoded string

commitment For commitment parameter description see this document Commitment.processed is not supported as commitment.

minContextSlot Set the minimum slot that the request can be evaluated at

Implementation

Future<BlockhasValidResult> isBlockhashValid(
  String blockhash, {
  Commitment? commitment,
  num? minContextSlot,
});