---
title: "Robinhood Chain Mainnet API"
description: "Robinhood Chain Mainnet JSON-RPC 端点与方法参考"
url: "https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/"
---

# Robinhood Chain Mainnet API

Robinhood Chain Mainnet 端点使用 EVM JSON-RPC Core API。可以先用公开端点试用方法；[创建端点](https://blockreq.com/docs/zh-cn/getting-started/create-endpoint/index.md)即可获得带 API 密钥的私有 URL。

## 端点

| 项目 | 值 |
| --- | --- |
| 网络 | Robinhood Chain Mainnet（主网） |
| Chain ID | `4663`（`0x1237`） |
| 公开 HTTPS | `https://robinhood-mainnet-rpc.blockreq.com/v1/rpc/public` |
| 私有 HTTPS | `https://robinhood-mainnet-rpc.blockreq.com/v1/rpc/BRQ1P0000000000000000000000000000000000000000000000000000000` |
| 公开 WSS | `wss://robinhood-mainnet-rpc.blockreq.com/v1/rpc/public` |
| 私有 WSS | `wss://robinhood-mainnet-rpc.blockreq.com/v1/rpc/BRQ1P0000000000000000000000000000000000000000000000000000000` |

这些 URL 使用产品路径 `/v1/rpc`，后接 `/public` 或你的 API 密钥。各方法如何计数见 [Request Counting](https://blockreq.com/docs/zh-cn/pricing/request-counting/index.md)。

## 方法

| 方法 | 说明 |
| --- | --- |
| [`eth_blockNumber`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_blockNumber/index.md) | 返回最新区块高度 |
| [`eth_call`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_call/index.md) | 执行消息调用但不创建链上交易 |
| [`eth_chainId`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_chainId/index.md) | 返回当前网络的链 ID |
| [`eth_estimateGas`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_estimateGas/index.md) | 估算交易所需 Gas |
| [`eth_feeHistory`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_feeHistory/index.md) | 返回每单位 Gas 基础费与实际优先费的历史 |
| [`eth_gasPrice`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_gasPrice/index.md) | 返回当前 Gas Price（单位 wei） |
| [`eth_getBalance`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_getBalance/index.md) | 返回账户余额 |
| [`eth_getBlockByHash`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_getBlockByHash/index.md) | 按区块哈希返回区块信息 |
| [`eth_getBlockByNumber`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_getBlockByNumber/index.md) | 按区块号返回区块信息 |
| [`eth_getBlockReceipts`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_getBlockReceipts/index.md) | 返回一个区块中所有交易的 receipt |
| [`eth_getBlockTransactionCountByHash`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_getBlockTransactionCountByHash/index.md) | 按区块哈希返回区块内交易数量 |
| [`eth_getBlockTransactionCountByNumber`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_getBlockTransactionCountByNumber/index.md) | 按区块号返回区块内交易数量 |
| [`eth_getCode`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_getCode/index.md) | 返回指定地址的合约代码 |
| [`eth_getFilterChanges`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_getFilterChanges/index.md) | 轮询自上次调用以来的变化 |
| [`eth_getFilterLogs`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_getFilterLogs/index.md) | 返回过滤器匹配的全部日志 |
| [`eth_getLogs`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_getLogs/index.md) | 返回符合过滤条件的日志 |
| [`eth_getStorageAt`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_getStorageAt/index.md) | 返回合约 storage slot 的值 |
| [`eth_getTransactionByBlockHashAndIndex`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_getTransactionByBlockHashAndIndex/index.md) | 按区块哈希和索引返回交易 |
| [`eth_getTransactionByBlockNumberAndIndex`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_getTransactionByBlockNumberAndIndex/index.md) | 按区块号和索引返回交易 |
| [`eth_getTransactionByHash`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_getTransactionByHash/index.md) | 按交易哈希返回交易详情 |
| [`eth_getTransactionCount`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_getTransactionCount/index.md) | 返回地址已发送交易数量（nonce） |
| [`eth_getTransactionReceipt`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_getTransactionReceipt/index.md) | 按交易哈希返回交易回执 |
| [`eth_maxPriorityFeePerGas`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_maxPriorityFeePerGas/index.md) | 返回建议的优先费（小费） |
| [`eth_newBlockFilter`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_newBlockFilter/index.md) | 创建新区块过滤器 |
| [`eth_newFilter`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_newFilter/index.md) | 创建新的日志过滤器 |
| [`eth_newPendingTransactionFilter`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_newPendingTransactionFilter/index.md) | 创建待打包交易过滤器 |
| [`eth_sendRawTransaction`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_sendRawTransaction/index.md) | 广播预签名交易 |
| [`eth_subscribe`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_subscribe/index.md) | 通过 WebSocket 订阅 EVM 事件 |
| [`eth_uninstallFilter`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_uninstallFilter/index.md) | 卸载过滤器 |
| [`eth_unsubscribe`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/eth_unsubscribe/index.md) | 取消此前创建的订阅 |
| [`net_listening`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/net_listening/index.md) | 客户端正在监听网络连接时返回 `true` |
| [`net_peerCount`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/net_peerCount/index.md) | 返回客户端当前连接的节点数 |
| [`net_version`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/net_version/index.md) | 以字符串返回当前网络 ID |
| [`web3_clientVersion`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/web3_clientVersion/index.md) | 返回客户端软件版本 |
| [`web3_sha3`](https://blockreq.com/docs/zh-cn/build/api-reference/robinhood/web3_sha3/index.md) | 返回给定数据的 Keccak-256 哈希 |
