LogoLogo
Package RegistryThe Graph
  • Introduction
  • Getting Started
  • Tutorials
    • Develop Your First Substreams
      • on EVM
      • on Solana
        • Transactions & Instructions
        • Account Changes
      • on Cosmos
        • Injective
        • MANTRA
      • on Starknet
      • on Stellar
    • Publishing a Substreams Package
  • How-To Guides
    • Developing Substreams
      • on EVM
        • Exploring Ethereum
          • Mapping Blocks
          • Filter Transactions
          • Retrieve Events of a Smart Contract
      • on Solana
        • Explore Solana
          • Filter Instructions
          • Filter Transactions
        • SPL Token Tracker
        • NFT Trades
        • DEX Trades
      • on Cosmos
        • Injective
          • Simple Substreams Example
          • Foundational Modules
          • Dojo DEX USDT Volume Subgraph Example
    • Using a Substreams Sink
      • Substreams:SQL
      • Substreams:Subgraph
        • Triggers
        • Graph Out
      • Substreams:Stream
        • JavaScript
        • Go
      • Substreams:PubSub
      • Community Sinks
        • MongoDB
        • Files
        • Key-Value Store
        • Prometheus
    • EVM Extensions
      • Making eth_calls
    • Getting Started Using Rust and Protobuf
      • Rust
        • Option struct
        • Result struct
      • Protobuf Schemas
    • From Yellowstone to Substreams
  • Reference Material
    • Chains and endpoints
      • Ethereum Data Model
    • Never Miss Data
    • Development Container Reference
    • Substreams CLI
      • Install the CLI
      • Authentication
      • Substreams CLI reference
    • Substreams Components
      • Packages
      • Modules
        • Module types
        • Inputs
        • Output
        • Module handlers
        • Module handler creation
        • Indexes
        • Keys in stores
        • Dynamic data sources
        • Aggregation Windows
        • Parameterized Modules
      • Manifests Reference
    • Substreams Architecture
    • Graph-Node
      • Local Development
      • Publish to The Graph Network
    • Indexer Reference
      • Test Substreams Locally
    • Logging, Debugging & Testing
    • Change log
    • FAQ
  • Decentralized Indexing
    • What is The Graph?
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. How-To Guides

Using a Substreams Sink

PreviousDojo DEX USDT Volume Subgraph ExampleNextSubstreams:SQL

Last updated 4 months ago

Was this helpful?

Once you find a package that fits your needs, you can choose how you want to consume the data. Sinks are integrations that allow you to send the extracted data to different destinations, such as a SQL database, a file or a subgraph.

Note: Some of the sinks are officially supported by StreamingFast (i.e. active support is provided), but other sinks are community-driven and support can't be guaranteed.

  • : Send the data to a database.

  • : Configure an API to meet your data needs and host it on The Graph Network.

  • : Stream data directly from your application.

  • : Send data to a PubSub topic.

  • : Explore quality community maintained sinks.

Deployable Service: If you’d like your sink (e.g., SQL or PubSub) to be hosted for you, reach out to the StreamingFast team .

Navigating Sink Repos

Official

Name
Support
Maintainer
Source Code

SQL

O

StreamingFast

Go SDK

O

StreamingFast

Rust SDK

O

StreamingFast

JS SDK

O

StreamingFast

KV Store

O

StreamingFast

Prometheus

O

Pinax

Webhook

O

Pinax

CSV

O

Pinax

PubSub

O

StreamingFast

Community

Name
Support
Maintainer
Source Code

MongoDB

C

Community

Files

C

Community

KV Store

C

Community

Prometheus

C

Community

  • O = Official Support (by one of the main Substreams providers)

  • C = Community Support

SQL Database
Subgraph
Direct Streaming
PubSub
Community Sinks
here
substreams-sink-sql
substreams-sink
substreams-sink-rust
substreams-js
substreams-sink-kv
substreams-sink-prometheus
substreams-sink-webhook
substreams-sink-csv
substreams-sink-pubsub
substreams-sink-mongodb
substreams-sink-files
substreams-sink-kv
substreams-sink-Prometheus