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

NewBlocks

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
P90 Lead

Dublin

99.5%

80.4 ms

130.9 ms

Frankfurt

100.0%

111.1 ms

189.1 ms

Tokyo

100.0%

223.0 ms

645.3 ms

Virginia

100.0%

133.6 ms

351.8 ms

The results show that BlockRazor maintained a consistent lead across all four regions. In the Frankfurt, Tokyo, and Virginia regions, BlockRazor achieved a 100% lead rate; in the Dublin region, the lead rate reached 99.5%. In terms of lead magnitude, BlockRazor's average lead time across different regions was approximately 80.4ms, 111.1ms, 223.0ms, and 133.6ms; under the P90 dimension, the lead magnitudes were 130.9ms, 189.1ms, 645.3ms, and 351.8ms, respectively.

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

Endpoint

Region
Availability Zone(AWS)
Relay Address

Frankfurt

euc1-az2

35.157.64.49:50051

Tokyo

apne1-az4

54.249.93.63:50051

Ireland

euw1-az1

3.248.65.151:50051

Virginia

use1-az4

52.205.173.134:50051

Price

The price is $500 per data stream per month. Please go to the Pricing page to purchase.

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.

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?