跳到正文

Arbitrum One RPC 与 Data API

EVM 兼容

端点

JSON-RPC(路径 Key)
https://api.blockvectra.com/v1/arb_mainnet/{api_key}
JSON-RPC(请求头:x-api-key)
https://api.blockvectra.com/v1/arb_mainnet
x-api-key: {api_key}
数据 API
https://api.blockvectra.com/v1/data/arb_mainnet
x-api-key: {api_key}
免 key 公开端点
https://api.blockvectra.com/v1/arb_mainnet/public
限额:每 IP 每秒 3 次、突发 20、批量 10
发交易限额:每 IP 每秒 1 次、突发 3
免注册试用(基础方法、最近 1,000 个区块)。免费注册获取包含 eth_getLogs 与 trace/debug 的全量方法、更高限额、Data API。

网络参数

Chain ID42161
WebSocket 支持不支持

快速示例

curl -X POST https://api.blockvectra.com/v1/arb_mainnet \
  -H "Content-Type: application/json" \
  -H "x-api-key: {api_key}" \
  -d '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'

限制

历史状态窗口最近 6,000 个区块的历史状态
eth_getLogs 单次最大区块跨度1,000 个区块
方法策略
允许:debug_traceBlockByHash, debug_traceBlockByNumber, debug_traceCall, debug_traceTransaction, eth_blobBaseFee, eth_blockNumber, eth_call, eth_chainId, eth_createAccessList, eth_estimateGas, eth_feeHistory, eth_gasPrice, eth_getBalance, eth_getBlockByHash, eth_getBlockByNumber, eth_getBlockReceipts, eth_getBlockTransactionCountByHash, eth_getBlockTransactionCountByNumber, eth_getCode, eth_getHeaderByHash, eth_getHeaderByNumber, eth_getLogs, eth_getProof, eth_getRawTransactionByBlockHashAndIndex, eth_getRawTransactionByBlockNumberAndIndex, eth_getRawTransactionByHash, eth_getStorageAt, eth_getTransactionByBlockHashAndIndex, eth_getTransactionByBlockNumberAndIndex, eth_getTransactionByHash, eth_getTransactionCount, eth_getTransactionReceipt, eth_getUncleByBlockHashAndIndex, eth_getUncleByBlockNumberAndIndex, eth_getUncleCountByBlockHash, eth_getUncleCountByBlockNumber, eth_maxPriorityFeePerGas, eth_sendRawTransaction, eth_simulateV1, eth_syncing, net_version, web3_clientVersion, web3_sha3

数据 API

查询该链数据新鲜度

curl -s "https://api.blockvectra.com/v1/data/arb_mainnet/status/freshness" -H "x-api-key: {api_key}"

查看数据集说明文档 →

查看 Data API 文档 →

常见问题

Arbitrum One RPC 是否支持 WebSocket?

Arbitrum One RPC 不支持 WebSocket 连接。

Arbitrum One RPC 是否支持 debug 方法?

Arbitrum One RPC 支持 debug 方法,包括:debug_traceBlockByHash, debug_traceBlockByNumber, debug_traceCall, debug_traceTransaction。

计价说明

注册即享 3,000 万 CU 免费额度(每 30 天自动补足,余额与限流跨链合计,无需信用卡);按方法公开定价,每百万次调用:eth_blockNumber $0.10、eth_call $1.50、eth_getLogs $3.00。

查看定价计划 →