ReStream delivers filtered Solana events over WebSockets. Each event type has its own channel format, and some support wildcards for flexible subscriptions. This page explains the available event types, how to subscribe to them, and the rules for writing topics.

Event topic format

Events are subscribed to via channels - generally speaking, topics are written in the following format:
  • {topic}:{subject}
    • topic: is the event type
    • subject: eg wallet, token, launchpad etc..

Topic Types

At the time of writing, these are the supported event topics:
  • launchpad_launch - All launches for a specific launchpad (only BAGS are supported for now)
For an always up-to-date list of topic types, they’re documented in ReStream proto package.

Wildcards

Some events support wildcard subscription, meaning that instead of a specific subject, you can pass in a wildcard in the subject to subscribe to all topic events:
  • launchpad_launch:* - subscribes to all launches accross all supported launchpads.
A client is allowed to have a maximum 5 wildcard subscriptions at once

Examples:

  • Subscribe to all launch events of BAGS:
{
  "type": "subscribe",
  "event": "launchpad_launch:BAGS"
}