All packages
spl_token_events

spl_token_events

0xpapercut
This is not the latest version — go to v0.1.7
v0.1.1/109 downloads

Package ref

spl-token-events@v0.1.1

Run package

Start block
latest 200 blocks

README

spl-token-substream

Stream SPL Token Program events with substreams.

Usage

  1. Setup the environment variable STREAMINGFAST_KEY with an API key.
  2. Run . ./token.sh
  3. Start streaming with make stream START=<slot>. You can verify the most recent slot on the Solana Explorer.

This substream provides a complete description of SPL Token Program events, as per spl_token.proto.

For storing these events in a database, a schema is provided along with a corresponding table_changes function. Find here an example of usage.

Modules

Execution graph

1 modules