Substreams WebSockets service — stream decoded blocks, swaps & transfers in real time.
    Read-only preview
    You're browsing the public WebSockets reference. Sign in to open a live stream with your team's API key.

    QuickstartBeta

    Open a WebSocket, subscribe to a network@table stream, and start receiving decoded blocks in real time. Pick a stream below — then drop the URL into wscat, Node, or the browser.

    Endpoint
    WS
    1# npm i -g wscat
    2wscat -c "wss://ws.pinax.network/ws/solana@swaps?token=<YOUR_JWT>"
    No API key loaded — samples show a <YOUR_JWT> placeholder. Open Try it to paste a token and stream live.
    Available streams (loading…)live from GET /streams

    WSLIST_FILTERS

    Return the active filters — a map of selector → expression for every selector that currently has one set. params is ignored. An empty {} means no filter is active — use it to confirm one took effect.

    Request

    Request
    {
      "method": "LIST_FILTERS",
      "id": 4
    }

    Reply

    Reply
    {
      "result": {
        "solana@swaps": "protocol:raydium_cpmm"
      },
      "id": 4
    }