TheDocumentation 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.
eth_sendPrivateTransaction method submits a single signed transaction directly to BlockRazor’s BSC Block Builder without broadcasting it to the public mempool. This protects your transaction from front-running and sandwich attacks by keeping it invisible to other network participants until it is confirmed in a block. Private transactions are routed through BlockRazor’s low-latency validator communication infrastructure, giving them a competitive path to inclusion while maintaining confidentiality.
eth_sendPrivateTransaction is free for all new registered users on BSC with no rate limits. No subscription is required. See Pricing for details on the BSC Package and premium builder features.Endpoint
Authorization header.
How Private Transactions Work
When you submit a transaction viaeth_sendPrivateTransaction, it is held exclusively within BlockRazor’s Block Builder infrastructure. It is never forwarded to the public BSC peer-to-peer network. The transaction remains private until BlockRazor’s Block Builder produces a block that includes it. If the transaction is not included by the maxBlockNumber block, it is silently dropped with no on-chain footprint.
This makes private transactions ideal for:
- MEV-sensitive trades — Prevent sandwich bots from detecting and sandwiching large swaps.
- Token launches and sniping — Execute at a precise block without exposing intent.
- Arbitrage — Submit profitable arbitrage without revealing the opportunity to competitors.
Request
The request follows the standard JSON-RPC 2.0 envelope. The single element ofparams is a private transaction object.
Transaction Parameters
The signed raw transaction encoded as a hex string prefixed with
0x. This is the same format produced by eth_signTransaction or any standard wallet signing library.Optional. The maximum block number (as a hex string, e.g.,
"0xE4E1C5") up to and including which the transaction is eligible for inclusion. If the transaction has not been included by this block, it expires automatically. Omitting this field allows the transaction to remain active for the builder’s default expiry window.Code Examples
Response
A successful submission returns thetransactionHash of the private transaction. You can use this hash to poll for on-chain confirmation once you expect the transaction to have been included.
The hash of the submitted transaction. Monitor this hash using standard
eth_getTransactionReceipt calls against a BSC RPC node to detect when the transaction has been confirmed on-chain.Response Example
Privacy Guarantees
Private transactions are never broadcast to the public mempool. They are only visible on-chain after being included in a block produced by BlockRazor’s Block Builder. If the Block Builder does not produce the target block, the transaction will not appear on-chain for that block—your transaction remains confidential.