JSON-RPC
完整参考
查阅完整的 JSON-RPC 2.0 API 规范与接口一览,核对全部 RPC 方法签名、请求与响应结构、参数类型与错误码;也能查看端点索引,账户管理见控制台账户 API,充值地址与链上充值记录见充值 API。
接口一览
Faucet
| 方法 | 路径 | 说明 |
|---|---|---|
| POST | /faucet/robinhood_testnet | Claim 0.001 test ETH on the Robinhood testnet. |
| OPTIONS | /faucet/robinhood_testnet | CORS preflight for browser faucet claim requests, without an API key. |
JSON-RPC
| 方法 | 路径 | 说明 |
|---|---|---|
| POST | /{chain}/public | Call the public wallet JSON-RPC endpoint without an API key. |
| POST | /{chain}/public/{apiKey} | Call standard billed JSON-RPC through the public endpoint with a path API key. |
| POST | /{chain}/{apiKey} | Send a JSON-RPC call or batch to a chain, with the API key in the URL path. |
| POST | /{chain} | Send a JSON-RPC call or batch to a chain, with the API key in a request header. |
Status
| 方法 | 路径 | 说明 |
|---|---|---|
| GET | /status | Get the public service status. |
Chains
| 方法 | 路径 | 说明 |
|---|---|---|
| GET | /chains | Get the public list of served chains and their static parameters. |
Account
| 方法 | 路径 | 说明 |
|---|---|---|
| GET | /account | Get the API key's own balance and limits. |