GetRecentBlockHashStream

This channel provides you with the latest blockhash from the Solana network for transaction construction.

Method: subscribe

Primary Parameter: GetRecentBlockHashStream

Additional Parameters:

Parameter
Type
Description

-

-

-

Subscribe sample:

wscat -H "Authorization:$AUTH_HEADER" -c wss://ny.solana.dex.blxrbdn.com/ws --wait 1000 --execute '{"jsonrpc":"2.0","id":1,"method":"subscribe","params":["GetRecentBlockHashStream",{}]}'

Event Result Details:

Fields
Type
Description

blockhash

enum

The latest blockhash.

timestamp

google.protobuf.Timestamp

The timestamp of the event.

Sample event:

{
   "jsonrpc":"2.0",
   "method":"subscribe",
   "params":{
      "subscription":"261ebab5-4d13-421e-b124-8cd7ed1f8ede",
      "result":{
         "blockHash":"4CNkQfwhPbR7orycgyjaTKGDZpHrJTNFQhZ8K3uvYCHn",
         "timestamp":"2026-04-16T20:14:44.270883625Z"
      }
   }
}

Last updated