0.01 credits per call
isBlockhashValid on Solana: Returns whether a blockhash is still valid.
Endpoint
Authorization: Bearer <GOLDRUSH_API_KEY>. See authentication.
Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
blockhash | string | yes | Base-58 encoded blockhash to check. | "EkSnNWid2cvwEVnVx9aBqawnmiCNiDgp3gUdkDPTKN1N" |
config | object | no | {commitment?, minContextSlot?}. | {"commitment":"processed"} |
Returns
object: {context, value: boolean}: true if the blockhash is still valid.
Examples
Errors
Standard JSON-RPC errors:-32600 invalid request, -32601 method not found, -32602 invalid params.