isBlockhashValid RPC Method

Returns whether a blockhash is still valid or not

Version Restriction

This method is only available in solana-core v1.9 or newer. Please use getFeeCalculatorForBlockhash for solana-core v1.8 and below.

Parameters #

string required

the blockhash of the block to evaluate, as base-58 encoded string

object optional

Configuration object containing the following fields:

commitment string optional

minContextSlot number optional

The minimum slot that the request can be evaluated at

Result #

<bool> - true if the blockhash is still valid

Code sample #

curl -X POST -H "Content-Type: application/json" -d '

Response #

  "jsonrpc": "2.0",
  "result": {
    "context": {
      "slot": 2483
    "value": false
  "id": 1