The BSC Block Stream delivers confirmed block data from the BNB Smart Chain to your application with minimal latency. As soon as a new block is produced, BlockRazor’s infrastructure pushes the full block payload — including the complete transaction list — to every connected subscriber. This stream is built for trading programs that need to monitor confirmed signal transactions, detect on-chain events, or maintain a synchronized view of the BSC chain state. The service is priced at $500 per stream per month.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/BlockRazorinc/docs_en/llms.txt
Use this file to discover all available pages before exploring further.
Block Stream uses the NewBlocks method. Each message represents one fully confirmed block, including all transactions within it. For unconfirmed activity, see the Public Mempool or Private Mempool streams.
Connection Details
| Property | Value |
|---|---|
| Protocol | WebSocket (WSS) or gRPC |
| WS Endpoint | wss://blockstream.blockrazor.io/bsc?auth=YOUR_AUTH_TOKEN |
| Method | NewBlocks |
| Pricing | $500 / stream / month |
| Chain | BNB Smart Chain (BSC) |
Replace
YOUR_AUTH_TOKEN with the API token from your BlockRazor dashboard. Both WebSocket and gRPC transports require this token for authentication.Authentication
For the WebSocket transport, pass the token as a query parameter:authorization metadata header on your outgoing context.
Code Examples
Response Fields
Each WebSocket or gRPC message represents a single confirmed BSC block.The block number as a hex-encoded string (e.g.
"0x1A2B3C"). Decode to decimal for sequential comparisons.The 32-byte block hash uniquely identifying this block on the BSC chain (e.g.
0xd4e5...).Unix timestamp of block production, hex-encoded (e.g.
"0x6612FC80"). Represents the time the block was sealed by the validator.Array of transaction objects included in this block. Each object carries the same fields as a mempool transaction message:
hash, from, to, value, gas, gasPrice, and data.Example Message
Pricing & Discounts
| Subscription Period | Discount |
|---|---|
| 1 month | — |
| 3 months | 5% off |
| 6 months | 10% off |
| 9 months | 15% off |
| 12 months | 20% off |
The BSC Block Stream is also available as part of the BSC Package bundle. See the Pricing page for details.