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

eth_sendRawTransaction v2

Introduction to eth_sendRawTransaction v2 of BlockRazor BSC Fast mode and integration methods

Introduction

Compared with eth_sendRawTransaction, eth_sendRawTransaction v2 presents a much more streamlined and rapid method for submitting transactions.

  • Bypasses CORS Preflight: It eliminates the delay (50-100ms) that is typically incurred by OPTIONS preflight.

  • Plain Text over JSON: Employing a simple plain text transmission circumvents the computational burden associated with parsing JSON. Furthermore, the resulting smaller data size serves to cut down on network transfer time and costs.

The features of eth_sendRawTransaction v2 are more suitable for front-end transaction application projects with a global user base.

Fast Mode is not tied to the subscription plan, but each transaction sent in Fast Mode must include a tip sent to the address 0x9D70AC39166ca154307a93fa6b595CF7962fe8e5. The minimum tip amount is the greater of 0.000025 BNB or Transaction Fee * 5%.

Endpoint

http://bsc-fast.blockrazor.io/v2/sendRawTransaction

Rate Limit

Fast Mode is not tied to the subscription plan, the rate limit default to 10 TPS for all users. Please contact us if you require an increase in your TPS limit.

Request Example

curl -X POST 'http://bsc-fast.blockrazor.io/v2/sendRawTransaction?auth=<auth_token>' \
-H "Content-Type: text/plain" \
-d "<raw_tx>"

Note:

  • the auth are compulsory to be added in URI params

  • the only header permitted in the request is Content-Type: text/plain

Response

Normal

Abnormal

Keep Alive

Please send a POST request to the health check endpoint to keep the connection alive. We recommend sending a request every 10 seconds. Below is a request example:

Last updated

Was this helpful?