POST
/
isBlockhashValid
curl --request POST \
  --url https://mainnet.helius-rpc.com/ \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "2.0",
  "id": "45",
  "method": "isBlockhashValid",
  "params": [
    "J7rBdM6AecPDEZp8aPq5iPSNKVkU5Q76F3oAV4eW5wsW",
    {
      "commitment": "processed"
    }
  ]
}'
{
  "jsonrpc": "2.0",
  "id": "45",
  "result": {
    "context": {
      "slot": 2483
    },
    "value": false
  }
}

Authorizations

api-key
string
query
required

Your Helius API key. You can get one for free in the dashboard.

Body

application/json
jsonrpc
enum<string>
default:2.0

The JSON-RPC protocol version.

Available options:
2.0
Example:

"2.0"

id
string
default:1

A unique identifier for the request.

Example:

"45"

method
enum<string>
default:isBlockhashValid

The name of the RPC method to invoke.

Available options:
isBlockhashValid
Example:

"isBlockhashValid"

params
array

Parameters for evaluating blockhash validity.

Response

Successfully evaluated blockhash validity.

jsonrpc
enum<string>

The JSON-RPC protocol version.

Available options:
2.0
Example:

"2.0"

id
string

Identifier matching the request.

Example:

"45"

result
object

Blockhash validity result.