LaserStream and Sender are now live! Experience ultra-fast data streaming and optimized transaction sending. Learn about LaserStream | Learn about Sender
Returns whether a blockhash is still valid or not.
cURL
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 } }
Your Helius API key. You can get one for free in the dashboard.
Successfully evaluated blockhash validity.
The response is of type object.
object
Was this page helpful?