Skip to content

Commit 4db30ef

Browse files
authored
update oegs endpoint example (#418)
* update oegs endpoint example * Update link and tip * fix tip bug
1 parent 04d6b16 commit 4db30ef

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

docs/pages/interaction/endpoints.mdx

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,23 @@ The Node client (also known as the Validator client) is the main client for inte
2020

2121
You'll need an endpoint to setup the Node client. Grab an RPC/gRPC endpoint from [here](#node). Additionally for the Python client, you'all also need a HTTP and WebSockets endpoints.
2222

23+
:::tip[OEGS]
24+
With the release of the Order Entry Gateway Service (OEGS), users can now connect to dYdX via OEGS endpoints. OEGS provides both gRPC and RPC endpoints.
25+
for more info on OEGS, check [here](/concepts/architecture/oegs.mdx)
26+
:::
27+
28+
29+
2330
:::code-group
2431

2532
```python [Python]
2633
from dydx_v4_client.network import make_mainnet
2734
from dydx_v4_client.node.client import NodeClient
2835

2936
config = make_mainnet( # [!code focus]
30-
node_url="your-chosen-grpc-node.com" # [!code focus]
31-
rest_indexer="https://your-chosen-rest-indexer.com", # [!code focus]
32-
websocket_indexer="wss://your-chosen-websocket-indexer.com", # [!code focus]
37+
node_url="oegs.dydx.trade:443" # [!code focus]
38+
rest_indexer="https://indexer.dydx.trade", # [!code focus]
39+
websocket_indexer="wss://indexer.dydx.trade/v4/ws", # [!code focus]
3340
).node # [!code focus]
3441
# Call make_testnet() to use the testnet instead. # [!code focus]
3542

@@ -212,6 +219,7 @@ let noble = NobleClient::connect( // [!code focus]
212219
## Endpoints
213220

214221
Some known endpoints are provided below. Use these to connect to the dYdX networks.
222+
Feel free to compare the most suitable gRPC endpoint from this [status endpoint](https://grpc-status.dydx.trade/)
215223

216224
### Node
217225

@@ -223,6 +231,7 @@ Connections with the full nodes are established using the (g)RPC protocol.
223231

224232
| Team | URI | Rate limit |
225233
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- |
234+
| OEGS | `grpc://oegs.dydx.trade:443` | |
226235
| Polkachu | `https://dydx-dao-grpc-1.polkachu.com:443` <br/> `https://dydx-dao-grpc-2.polkachu.com:443` <br/> `https://dydx-dao-grpc-3.polkachu.com:443` <br/> `https://dydx-dao-grpc-4.polkachu.com:443` <br/> `https://dydx-dao-grpc-5.polkachu.com:443` | 300 req/m |
227236
| KingNodes | `https://dydx-ops-grpc.kingnodes.com:443` | 250 req/m |
228237
| Enigma | `https://dydx-dao-grpc.enigma-validator.com:443` | |
@@ -233,6 +242,7 @@ Connections with the full nodes are established using the (g)RPC protocol.
233242

234243
| Team | URI | Rate limit |
235244
| ------------- | ------------------------------------------------------ | ---------- |
245+
| OEGS | `https://oegs.dydx.trade:443` | |
236246
| Polkachu | `https://dydx-dao-rpc.polkachu.com:443` | 300 req/m |
237247
| KingNodes | `https://dydx-ops-rpc.kingnodes.com:443` | 250 req/m |
238248
| Enigma | `https://dydx-dao-rpc.enigma-validator.com:443` | |
@@ -259,6 +269,7 @@ Connections with the full nodes are established using the (g)RPC protocol.
259269

260270
| Team | URI |
261271
| ------------- | -------------------------------------------------- |
272+
| OEGS | `oegs-testnet.dydx.exchange:443` |
262273
| Lavender Five | `testnet-dydx.lavenderfive.com:443 (TLS)` |
263274
| King Nodes | `test-dydx-grpc.kingnodes.com:443 (TLS)` |
264275
| Polkachu | `dydx-testnet-grpc.polkachu.com:23890 (plaintext)` |
@@ -267,6 +278,7 @@ Connections with the full nodes are established using the (g)RPC protocol.
267278

268279
| Team | URI |
269280
| ------------- | ----------------------------------------------- |
281+
| OEGS | `https://oegs-testnet.dydx.exchange:443` |
270282
| Enigma | `https://dydx-rpc-testnet.enigma-validator.com` |
271283
| Lavender Five | `https://testnet-dydx-rpc.lavenderfive.com` |
272284
| King Nodes | `https://test-dydx-rpc.kingnodes.com` |

0 commit comments

Comments
 (0)