All packages
odds

odds

preduck
v3.0.0/10.2K downloads

Package ref

odds@v3.0.0

Run package

CLI

Run prediction_events from the command line.

substreams run odds@v3.0.0 prediction_events -e solana --start-block -1
Authenticate by running substreams auth or directly on thegraph.market (see docs).

README

prediction_market Substreams modules

This package was initialized via substreams init, using the sol-minimal template.

Usage

substreams build
substreams auth
substreams gui       			  # Get streaming!

Optionally, you can publish your Substreams to the Substreams Registry.

substreams registry login         # Login to substreams.dev
substreams registry publish       # Publish your Substreams to substreams.dev

Modules

map_filtered_transactions

This module retrieves Solana transactions filtered by one or several Program IDs. You will only receive transactions containing the specified Program IDs).

NOTE: Transactions containing voting instructions will NOT be present.

map_my_data

This module allows you to create transformations on the filtered transactions.

Modules

Execution graph

2 modules
Show 1 dependency