Skip to main content
POST
isBlockhashValid

Request Parameters

string
required
Blockhash to check validity status for, as a base-58 encoded string.
string
The commitment level for the request.
  • confirmed
  • finalized
  • processed
number
The minimum slot that the request can be evaluated at.

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
(string | object)[]

Parameters for evaluating blockhash validity.

Blockhash to check validity status for, as a base-58 encoded string.

Example:

"J7rBdM6AecPDEZp8aPq5iPSNKVkU5Q76F3oAV4eW5wsW"

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.