GetRecentBlockHashStream
This channel provides you with the latest blockhash from the Solana network for transaction construction.
Method: subscribe
subscribe Primary Parameter: GetRecentBlockHashStream
GetRecentBlockHashStreamAdditional 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",{}]}'Fields
Type
Description
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