You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The **Node RPC** endpoint exposes direct connection to the Midnight Node RPC for low-level runtime access, wallet providers, and transaction submission — use it with libraries like [midnight.js](https://github.com/midnightntwrk/midnight-js) that need a node connection.
285
-
Currently available networks are `preview` and `preprod`. The `mainnet` network is coming soon.
When using WebSocket in the browser (which doesn't support custom headers), include your project ID as a subprotocol by prefixing it with `project_id_`:
356
347
```javascript
357
-
new WebSocket("wss://midnight-preview.blockfrost.io/api/v0/ws", [
348
+
new WebSocket("wss://midnight-mainnet.blockfrost.io/api/v0/ws", [
358
349
"graphql-transport-ws",
359
350
"project_id_YOUR_PROJECT_ID"
360
351
]);
@@ -364,23 +355,23 @@ info:
364
355
365
356
**Query the latest block:**
366
357
```bash
367
-
curl -X POST https://midnight-preview.blockfrost.io/api/v0 \
358
+
curl -X POST https://midnight-mainnet.blockfrost.io/api/v0 \
0 commit comments