isBlockhashValid RPC Method
Returns whether a blockhash is still valid or not.Version Restriction
This method is only available insolana-core
v1.9 or newer. Please use getFeeCalculatorForBlockhash for solana-core
v1.8 and below.
Parameters
string
requiredBlockhash of the block to evaluate
- Base-58 encoded string
object
optionalConfiguration object containing the following fields:commitment
string
optionalThe level of commitment desired when querying stateminContextSlot
number
optionalThe minimum slot that the request can be evaluated at
Result Details
<bool>
- Blockhash Validitytrue
indicates the blockhash is still validfalse
indicates the blockhash is no longer usable- Helps determine if a transaction can still be processed using this blockhash