跳到正文

Base RPC

EVM 兼容

端点

JSON-RPC(路径 Key)
https://api.blockvectra.com/v1/base_mainnet/{api_key}
JSON-RPC(请求头:x-api-key)
https://api.blockvectra.com/v1/base_mainnet
x-api-key: {api_key}

快速示例

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

链事实

Chain ID8453

限制

历史状态窗口最近 10000 个区块的历史状态
eth_getLogs 单次最大区块跨度1000 个区块
方法策略
允许:eth_blockNumber, eth_chainId, eth_gasPrice, eth_maxPriorityFeePerGas, eth_blobBaseFee, eth_feeHistory, eth_syncing, eth_getBalance, eth_getCode, eth_getStorageAt, eth_getTransactionCount, eth_call, eth_estimateGas, eth_createAccessList, eth_getProof, eth_simulateV1, eth_getBlockByNumber, eth_getBlockByHash, eth_getBlockReceipts, eth_getBlockTransactionCountByNumber, eth_getBlockTransactionCountByHash, eth_getTransactionByHash, eth_getTransactionReceipt, eth_getTransactionByBlockNumberAndIndex, eth_getTransactionByBlockHashAndIndex, eth_getRawTransactionByHash, eth_getRawTransactionByBlockHashAndIndex, eth_getRawTransactionByBlockNumberAndIndex, eth_getLogs, eth_getUncleCountByBlockNumber, eth_getUncleCountByBlockHash, eth_getUncleByBlockNumberAndIndex, eth_getUncleByBlockHashAndIndex, eth_getHeaderByNumber, eth_getHeaderByHash, eth_sendRawTransaction, net_version, web3_clientVersion, web3_sha3
拒绝:eth_newFilter, eth_newBlockFilter, eth_newPendingTransactionFilter, eth_getFilterLogs, eth_getFilterChanges, eth_uninstallFilter, eth_subscribe, eth_unsubscribe

实时状态

计价说明

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

查看定价计划 →

查看免费额度与定价 →