Provider

Create or update a WebSocket node

Creates or updates a WebSocket RPC node for one of the authenticated provider's plans. The URL must be a public wss:// endpoint (loopback, private, and link-local hosts are rejected) that accepts eth_subscribe("newHeads"); the server dials the node to verify before persisting. Returns the upserted node set to a healthy status.

put/provider/nodes/ws

Request body

plan_idinteger required

Plan ID the WebSocket node belongs to (must be owned by the provider).

chain_idstring required

Chain ID the node serves, e.g. 137.

urlstring required

Public wss:// endpoint URL; must accept eth_subscribe("newHeads").

Response

WebSocket node upserted

messagestring
node_wsobject
statusstring

healthy on success.

Changes

Changed in 1 of the 17 revisions of this API.1