Returns whether a blockhash is still valid at the requested commitment.
Source
$ curl https://api.devnet.solana.com -s -X \> POST -H "Content-Type: application/json" -d '> {> "jsonrpc": "2.0",> "id": 45,> "method": "isBlockhashValid",> "params": [> "J7rBdM6AecPDEZp8aPq5iPSNKVkU5Q76F3oAV4eW5wsW",> {> "commitment": "processed"> }> ]> }> '
params
stringrequired
The blockhash of the block to evaluate, as base-58 encoded string
objectoptional
Configuration object containing the following fields:
result
Response
{"jsonrpc": "2.0","result": {"context": { "apiVersion": "3.1.8", "slot": 2483 },"value": false},"id": 45}
object
RpcResponse object containing:
Is this page helpful?