Package Logo
spl_token_events
spl-token-events@v0.1.1
Total Downloads
15
Published
4 months ago
Network
solana solana
Publisher
User Avatar streamingfast
Total Downloads
15
Published
4 months ago
Network
solana solana
Publisher
User Avatar streamingfast

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.

Documentation

Modules

Maps icon
Maps

map
spl_token_block_events

87e08a569d0a3a0e5a43250f3a59a981451090f3
map spl_token_block_events (
blocksf.solana.type.v1.Block
)  -> spl_token.SplTokenBlockEvents
substreams gui spl-token-events@v0.1.1 spl_token_block_events
Protobuf

Protobuf Docs Explorer

spl_token