Skip to main content

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.

BlockRazor exposes a standard JSON-RPC interface for BNB Smart Chain (BSC), letting you drop it in as a replacement for any Ethereum-compatible provider. The RPC endpoint routes your transactions through BlockRazor’s globally distributed infrastructure with built-in MEV protection, so your transactions land on-chain faster and more safely than through a public node. New registered users enjoy unlimited throughput on this endpoint with no rate limits applied.

Endpoint

POST https://rpc.blockrazor.io/bsc
All requests must include an Authorization header carrying your API token.
BSC RPC has no rate limit for new registered users. MEV protection is enabled by default on every transaction submitted through this endpoint — no additional configuration is required.

Authentication

Authorization
string
required
Your BlockRazor API token, passed as a Bearer token: Bearer YOUR_AUTH_TOKEN. Obtain your token from the BlockRazor dashboard.

Request Body

Requests follow the standard JSON-RPC 2.0 envelope.
jsonrpc
string
required
JSON-RPC version string. Must be "2.0".
method
string
required
The RPC method name. For transaction submission this is "eth_sendRawTransaction".
params
array
required
An array containing exactly one element — the signed transaction data.
id
integer
Client-defined request identifier echoed back in the response. Defaults to 1 if omitted.

Response

jsonrpc
string
Always "2.0".
id
integer
Mirrors the id value sent in the request.
result
string
The 32-byte transaction hash (0x-prefixed hex string) assigned to the submitted transaction. Use this hash to poll for receipt confirmation via eth_getTransactionReceipt.
error
object
Present only when the request fails.

Examples

curl -X POST https://rpc.blockrazor.io/bsc \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer YOUR_AUTH_TOKEN' \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_sendRawTransaction",
    "params": ["0xSIGNED_TX_HEX"],
    "id": 1
  }'

Standard JSON-RPC Methods

Beyond eth_sendRawTransaction, the BSC RPC endpoint supports the full suite of standard Ethereum-compatible JSON-RPC methods, including eth_getTransactionReceipt, eth_getBalance, eth_blockNumber, eth_call, and more. Swap any existing BSC RPC URL for https://rpc.blockrazor.io/bsc and include the Authorization header to get started.
To query the confirmation status of a submitted transaction, call eth_getTransactionReceipt with the returned transaction hash. A non-null response means the transaction has been included in a block.
BlockRazor’s BSC Block Builder holds a historical cumulative block production rate of 37%, ranking first across the entire BSC chain. Transactions sent through the RPC endpoint benefit from this infrastructure automatically.

Build docs developers (and LLMs) love