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.

    WSUNSUBSCRIBE

    Remove channels from the subscription set. params is required; unknown selectors are silently ignored.

    Request

    Request
    {
      "method": "UNSUBSCRIBE",
      "params": [
        "mainnet@erc20_transfers"
      ],
      "id": 2
    }

    Reply

    Reply
    {
      "result": null,
      "id": 2
    }

    To remove a wildcard subscription pass the exact wildcard form — *@swaps removes the wildcard entry, not the individual streams it currently matches.