isBlockhashValid
Returns whether a block hash is still valid. This method uses 160 credits from your daily balance.
Parameters
blockhash: (string) [requiredl] - Thebase58encoded hash of the block.config: (object) [optional] - Configuration object with the following options:commitment: (string) [optional] - The commitment level to use for the query. The default isfinalized. Possible values are:finalized- Queries the most recent block confirmed by a super majority of the cluster as having reached maximum lockout, meaning the cluster has recognized this block as finalized.confirmed- Queries the most recent block that has been voted on by a super majority of the cluster.processed- Queries its most recent block. The block may still be skipped by the cluster.
epoch: (integer) [optional] - The epoch for which to query the rewards. If not specified, the current epoch is used.minContextSlot: [optional] - The minimum slot to use for the query.
Returns
result - true if the block hash is still valid; otherwise false.