SolanaStreaming Docs

SolanaStreaming CLI

Download and work with SolanaStreaming archive data from the command line.

The ss-cli tool provides commands to download archive files, reduce datasets using filters, and simulate a websocket server with archived events.

View the CLI on GitHub · Download a release

Install

Download the release package that matches your operating system and architecture. Precompiled binaries are provided for macOS, Windows, and Linux. The repository also includes instructions for building from source.

Run a command using this syntax:

ss-cli <subcommand> [subcommand options]

Commands

download
Download the files for an archive order. Provide your API key and order ID; the order ID is available in the dashboard. Downloads are saved locally and progress is tracked.
reduce
Create a smaller copy of archive data by filtering on AMM, base token mint, or wallet values.
simulate
Run a local websocket server that replays events from archive data, so clients can be tested against historical events. Subscribe as usual and send {"method":"startSimulation"} to start playback.

See the archive documentation for information about the data, and the CLI README for the complete options and usage details.

Simulation notes

  • The simulation server does not provide latestBlockSubscribe.
  • Swap filters are not applied during simulation. Use reduce to pre-filter the data.
  • For very large ranges (over 150 hours), processing the files directly may be more efficient.