跳转到内容

公开端点

BlockReq 为所有支持的网络提供免费公开 RPC 端点。无需注册或 API Key — 非常适合测试、原型开发和轻量级 dApp。

网络公开地址
Ethereumhttps://eth-mainnet.blockreq.com/v1/rpc/public
BSChttps://bsc-mainnet.blockreq.com/v1/rpc/public
Arbitrumhttps://arb-mainnet.blockreq.com/v1/rpc/public
Basehttps://base-mainnet.blockreq.com/v1/rpc/public
Polygonhttps://polygon-mainnet.blockreq.com/v1/rpc/public
网络公开地址
ETH Sepoliahttps://eth-sepolia.blockreq.com/v1/rpc/public
ETH Hoodihttps://eth-hoodi.blockreq.com/v1/rpc/public
BSC Testnethttps://bsc-testnet.blockreq.com/v1/rpc/public
ARB Sepoliahttps://arb-sepolia.blockreq.com/v1/rpc/public
Base Sepoliahttps://base-sepolia.blockreq.com/v1/rpc/public
Polygon Amoyhttps://polygon-amoy.blockreq.com/v1/rpc/public
网络公开地址
ETH Beaconhttps://eth-beacon.blockreq.com/v1/rpc/public
限制数值
每秒请求数每 IP 地址 5 次
每日限制
协议HTTPS + WSS

需要更高限制? 创建免费账户 即可获得 80M RU/月 + 100 req/s。

Terminal window
curl -X POST https://eth-mainnet.blockreq.com/v1/rpc/public \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
import { JsonRpcProvider } from "ethers";
const provider = new JsonRpcProvider("https://eth-mainnet.blockreq.com/v1/rpc/public");
const blockNumber = await provider.getBlockNumber();
console.log("最新区块:", blockNumber);
from web3 import Web3
w3 = Web3(Web3.HTTPProvider("https://eth-mainnet.blockreq.com/v1/rpc/public"))
print("最新区块:", w3.eth.block_number)
import { createPublicClient, http } from "viem";
import { mainnet } from "viem/chains";
const client = createPublicClient({
chain: mainnet,
transport: http("https://eth-mainnet.blockreq.com/v1/rpc/public"),
});
const blockNumber = await client.getBlockNumber();
console.log("最新区块:", blockNumber);
Terminal window
# 获取节点版本
curl https://eth-beacon.blockreq.com/v1/rpc/public/eth/v1/node/version
# 获取当前 finality checkpoints
curl https://eth-beacon.blockreq.com/v1/rpc/public/eth/v1/beacon/states/head/finality_checkpoints

您可以将公开端点添加为 MetaMask 自定义 RPC:

字段
网络名称Ethereum (BlockReq Public)
RPC URLhttps://eth-mainnet.blockreq.com/v1/rpc/public
Chain ID1
货币符号ETH
区块浏览器https://etherscan.io
  • 每 IP 限速 5 请求/秒 — 超出会收到 HTTP 429 响应
  • 无 SLA — 公开端点以尽力而为的方式提供
  • 无分析 — 使用量不会记录到您的仪表板

生产环境建议 创建私有端点 以获得更高速率限制和完整分析功能。