Skip to main content
POST
isBlockhashValid
curl --request POST \
  --url 'https://rpc-mainnet.solanatracker.io/?api_key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "jsonrpc": "2.0",
  "id": "45",
  "method": "isBlockhashValid",
  "params": [
    "AEJu9DSSSLggXFxpUYximTRt2iPh7snY74aEZDLydF7D",
    {
      "commitment": "processed"
    }
  ]
}
'
{
  "jsonrpc": "2.0",
  "id": "45",
  "result": {
    "context": {
      "slot": 2483
    },
    "value": false
  }
}

Authorizations

api_key
string
query
required

Body

application/json
jsonrpc
enum<string>
default:2.0
required

The JSON-RPC protocol version.

Available options:
2.0
Example:

"2.0"

id
string
default:1
required

A unique identifier for the request.

Example:

"45"

method
enum<string>
default:isBlockhashValid
required

The name of the RPC method to invoke.

Available options:
isBlockhashValid
Example:

"isBlockhashValid"

params
(string | object)[]
required

Parameters for evaluating blockhash validity.

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

Example:

"AEJu9DSSSLggXFxpUYximTRt2iPh7snY74aEZDLydF7D"

Response

200 - application/json

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.