isBlockhashValid abstract method
Future<BlockhasValidResult>
isBlockhashValid(
- String blockhash, {
- Commitment? commitment,
- 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,
});