JSON-RPC
完整參考
完整的 JSON-RPC 2.0 API 規格與端點一覽。瀏覽所有支援的方法、請求與回應結構、schema 類型及錯誤碼。
端點一覽
以下為英文原規格。
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} | JSON-RPC call (API key in the URL path) |
| POST | /{chain} | JSON-RPC call (API key in a header) |
Status
| 方法 | 路徑 | 說明 |
|---|---|---|
| GET | /status | Public service status |
Chains
| 方法 | 路徑 | 說明 |
|---|---|---|
| GET | /chains | Public chain list and parameters |
Account
| 方法 | 路徑 | 說明 |
|---|---|---|
| GET | /account | Get the API key's own balance and limits. |
以下為英文原規格。