For the complete documentation index, see llms.txt. This page is also available as Markdown.

BSC NewBlocks Stream Integration Guide

Explore the services, application scenarios, benchmark data, price, endpoint, and integration methods of BlockRazor BSC NewBlocks stream.

What is BSC NewBlocks

NewBlocks is a high-performance block stream service provided by BlockRazor, used for low-latency subscription to the latest blocks and confirmed transactions. NewBlocks helps users receive the latest block content earlier, and integrates the block header, transaction list, and next validator info into their monitoring or strategy systems with lower latency.

NewBlocks distributes the latest block data based on BEF. When a block is generated in the network and begins to propagate, BlockRazor receives the block in multiple core areas as early as possible and then forwards it to subscribers through low-latency links, shortening the time for users to receive block data.

Scenarios of BSC NewBlocks
  • Confirmed Transaction Monitoring: Receives confirmed transactions from the latest block in real time, used to monitor target addresses, popular contracts, or abnormal transaction behavior.

  • Block-level data analysis: Obtaining block headers, transaction lists, and next validator info for block research, node observation, and network state analysis.

  • Strategy data input: Serving as the confirmed data source for the trading system, it works in conjunction with capabilities such as Public Mempool and Transaction Submission to build a more complete monitoring and execution chain.

Benchmark

In our benchmark on the latency of receiving new blocks, we compared BlockRazor with a regular Node in four regions: Dublin, Frankfurt, Tokyo, and Virginia. The evaluation was based on the time difference for clients receiving the same block from BlockRazor and node in the comparable sample.

Region
BlockRazor Lead Rate
Avg Lead
P50 Lead
P90 Lead

Dublin

100.0%

60.4 ms

50.5 ms

90.7 ms

Frankfurt

100.0%

61.5 ms

54.7 ms

92.3 ms

Tokyo

100.0%

239.1 ms

145.7 ms

622.9 ms

Virginia

99.5%

69.0 ms

58.3 ms

121.6 ms

The results show that BlockRazor maintained a consistent lead across all four regions. In the Frankfurt, Tokyo, and Dublin regions, BlockRazor achieved a 100% lead rate; in the Virginia region, the lead rate reached 99.5%. In terms of lead magnitude, BlockRazor's average lead time across different regions was approximately 60.4 ms, 61.5 ms, 239.1 ms, and 69.0ms; under the P90 dimension, the lead magnitudes were 90.7 ms, 92.3 ms, 622.9ms, and 121.6ms, respectively.

This indicates that BlockRazor is able to receive block data more consistently ahead of ordinary nodes when new blocks arrive.

Price

Payment Method
Price
Action

Personalized

$50 / stream / day $500 / stream / month

Package

$1250 / month bundled with other essential services for more value

The number of data streams that can be subscribed to is calculated on a shared basis across all regions. For example, if you purchase one stream, you can only subscribe in one region; you will not be able to subscribe in other regions.

Endpoint

Region
Relay Address

Frankfurt

64.130.47.75:50051

Tokyo

63.254.162.18:50051

Dublin

141.98.217.82:50051

Virginia

208.91.105.204:50051

Request Parameters

Parameters
Mandatory
Format
Example
Description

NodeValidation

Mandatory

boolean

false

This field currently only supports being set to false, and the relay will push all new blocks (unchecked) with lower latency.

Request Example

https://github.com/BlockRazorinc/relay_example

Proto

The code of relay.proto is as follows:

Response Example

Success

Error

Last updated

Was this helpful?