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’s RPC mode is the most straightforward way to submit transactions to supported networks. It exposes the full suite of standard JSON-RPC methods — including eth_sendRawTransaction — while layering in MEV protection and real-time rebate support on top of your existing workflow. Because the interface is 100% JSON-RPC compatible, migrating from a public RPC endpoint requires nothing more than swapping the URL.

Supported Chains

BSC

Full JSON-RPC method support including eth_sendRawTransaction. No rate limits for new registered users.

Ethereum

Full JSON-RPC method support including eth_sendRawTransaction. No rate limits for new registered users.

Base

Supports eth_sendRawTransaction. New users are rate-limited to 1 Tx / 5 seconds.

Monad

Standard JSON-RPC submission with BlockRazor’s acceleration network. Coming soon.
New registered users on BSC and Ethereum have no rate limits. Base is restricted to 1 transaction every 5 seconds for new accounts. Subscribe to a plan to remove limits and unlock higher throughput.

Endpoint Format

All BlockRazor RPC endpoints follow this pattern:
https://rpc.blockrazor.io/<chain>?auth=<your-token>
You can also pass the token as an Authorization header instead of a query parameter. See the examples below for both approaches.
Don’t have an auth token yet? Visit the Authentication guide to generate one from the BlockRazor dashboard.

Connecting to BlockRazor RPC

cURL

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}'

ethers.js

import { ethers } from "ethers";

const provider = new ethers.JsonRpcProvider(
  "https://rpc.blockrazor.io/bsc?auth=YOUR_AUTH_TOKEN"
);

// Sign and send a transaction
const wallet = new ethers.Wallet("YOUR_PRIVATE_KEY", provider);
const tx = await wallet.sendTransaction({
  to: "0xRECIPIENT_ADDRESS",
  value: ethers.parseEther("0.01"),
});

console.log("Transaction hash:", tx.hash);
await tx.wait();
console.log("Transaction confirmed!");

Web3.js

import Web3 from "web3";

const web3 = new Web3("https://rpc.blockrazor.io/bsc?auth=YOUR_AUTH_TOKEN");

const signedTx = await web3.eth.accounts.signTransaction(
  {
    to: "0xRECIPIENT_ADDRESS",
    value: web3.utils.toWei("0.01", "ether"),
    gas: 21000,
  },
  "YOUR_PRIVATE_KEY"
);

const receipt = await web3.eth.sendSignedTransaction(signedTx.rawTransaction);
console.log("Mined in block:", receipt.blockNumber);

Key Methods

eth_sendRawTransaction

Submit a signed, serialized transaction. The primary method for all EVM-compatible chains.

eth_getTransactionReceipt

Poll for transaction status and retrieve block inclusion details after submission.

eth_blockNumber

Retrieve the latest confirmed block number on the target chain.

eth_call

Execute a read-only contract call without broadcasting a transaction.
BlockRazor’s RPC mode supports the full Ethereum JSON-RPC specification. Any method valid on the target chain’s native RPC is also valid on the BlockRazor endpoint.

API Reference

Explore the full method schemas, request/response formats, and chain-specific parameters in the API reference:

BSC JSON-RPC

All standard JSON-RPC methods available on BSC.

BSC gRPC

High-performance binary gRPC interface for BSC.

Ethereum JSON-RPC

All standard JSON-RPC methods available on Ethereum.

Build docs developers (and LLMs) love