Index
About 731 wordsAbout 2 min
2026-09-18
Robinhood Gateway is a low-latency JSON-RPC proxy gateway built for Robinhood Chain, designed for high-frequency trading (HFT) and market-making scenarios where every millisecond counts. Through an optimized relay architecture, we deliver millisecond-level response times and enterprise-grade reliability for on-chain data queries, transaction submission, and real-time feed streaming.
Why Robinhood Gateway
- Ultra-low latency -- Approximately 500 ms lower end-to-end latency than public RPC nodes; < 5 ms client-perceived latency for transaction submission
- High reliability -- Built-in automatic retry and failover mechanisms to minimize the impact of network fluctuations on strategy execution
- Independent quotas -- Query and transaction quotas are completely independent, ensuring your transaction channel remains available even when query quota is exhausted
- Real-time feed -- Stream Robinhood Chain feed data via WebSocket in real time, no polling required
- Simple integration -- Fully compatible with standard Ethereum JSON-RPC protocol; existing code requires minimal changes to integrate
Core Features
JSON-RPC Proxy
Use POST /v1/rpc to synchronously forward all standard Ethereum JSON-RPC requests to Robinhood Chain. Supports both single and batch requests, with response format identical to a direct RPC connection.
# Query chain ID
curl -X POST https://robinhood-ohio.flashblock.trade/v1/rpc \
-H "Content-Type: application/json" \
-H "X-User-ID: <your-api-key>" \
-d '{"jsonrpc":"2.0","method":"eth_chainId","params":[],"id":1}'
# โ {"jsonrpc":"2.0","id":1,"result":"0x1237"}Suitable for balance queries, block information retrieval, contract calls, and any on-chain read operation, as well as synchronous transaction submission that waits for on-chain confirmation.
See JSON-RPC Proxy for details.
Async Transaction Submission
Use POST /v1/tx to submit transactions. The endpoint returns HTTP 202 immediately upon receipt, then forwards the transaction in the background with built-in retry logic. Designed for trading strategies that demand minimal submission latency.
# JSON-RPC format
curl -X POST https://robinhood-ohio.flashblock.trade/v1/tx \
-H "Content-Type: application/json" \
-H "X-User-ID: <your-api-key>" \
-d '{"jsonrpc":"2.0","method":"eth_sendRawTransaction","params":["0xf86c..."],"id":1}'
# โ 202 {"code":"accepted","message":"transaction queued for submission"}# Also supports raw hex (no JSON-RPC wrapping needed)
curl -X POST https://robinhood-ohio.flashblock.trade/v1/tx \
-H "Content-Type: text/plain" \
-H "X-User-ID: <your-api-key>" \
-d '0xf86c0a8502540be400...'
# โ 202 {"code":"accepted","message":"transaction queued for submission"}See Transaction Submission for details.
Real-time Feed
Use GET /v1/feed to establish a WebSocket connection and automatically receive the Robinhood Chain real-time feed data stream.
const ws = new WebSocket('wss://robinhood-ohio.flashblock.trade/v1/feed', {
headers: { 'X-User-ID': '<your-api-key>' }
});
ws.onmessage = (event) => {
console.log('Feed:', JSON.parse(event.data));
};See Real-time Feed for details.
Performance
| Metric | Description |
|---|---|
| End-to-end latency | Approximately 500 ms lower than public RPC nodes |
| Transaction submission | Client-perceived latency < 5 ms (async queue returns immediately) |
| Reliability | Built-in automatic retry mechanism to mitigate network packet loss |
Quick Start
Step 1: Get your API Key
Register at the FlashBlock Console to obtain your dedicated API Key. All API requests require this key in the request header:
X-User-ID: <your-api-key>Step 2: Verify your connection
Send a simple chain ID query to verify your setup:
curl -X POST https://robinhood-ohio.flashblock.trade/v1/rpc \
-H "Content-Type: application/json" \
-H "X-User-ID: <your-api-key>" \
-d '{"jsonrpc":"2.0","method":"eth_chainId","params":[],"id":1}'Successful response:
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x1237"
}
0x1237= 4663 (Mainnet),0xb626= 46630 (Testnet)
Step 3: Query on-chain data
# Query latest block number
curl -X POST https://robinhood-ohio.flashblock.trade/v1/rpc \
-H "Content-Type: application/json" \
-H "X-User-ID: <your-api-key>" \
-d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
# Query account balance
curl -X POST https://robinhood-ohio.flashblock.trade/v1/rpc \
-H "Content-Type: application/json" \
-H "X-User-ID: <your-api-key>" \
-d '{"jsonrpc":"2.0","method":"eth_getBalance","params":["0xYourAddress","latest"],"id":1}'Step 4: Submit a transaction
curl -X POST https://robinhood-ohio.flashblock.trade/v1/tx \
-H "Content-Type: application/json" \
-H "X-User-ID: <your-api-key>" \
-d '{"jsonrpc":"2.0","method":"eth_sendRawTransaction","params":["0xf86c..."],"id":1}'
# โ 202 AcceptedDocumentation
| Page | Description |
|---|---|
| Endpoints and Authentication | API base URL, network info, authentication |
| JSON-RPC Proxy | Synchronous queries and transaction proxy, batch requests |
| Transaction Submission | Async transaction submission (HTTP 202) |
| Real-time Feed | WebSocket feed connection and usage |
| Error Codes | Complete error code reference and troubleshooting |
| Pricing and Plans | Tiers, quotas, and pricing |