Output
sf.substreams.solana.type.v1.FilteredAccounts
Inputs

Package ref
solana-accounts-foundational@v0.1.1Run package
CLI
Run filtered_accounts from the command line.
substreams run solana-accounts-foundational@v0.1.1 filtered_accounts -e solana-accounts-mainnet --start-block -1substreams auth or directly on thegraph.market (see docs).README
This package allows filtered access to a stream of account changes based on the account or the owner of that account.
owner:TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DAaccount:AwjomjhbNqkgEZN1ADvbEcTYsDfBuX4AKzNmxwgtKvxM || account:5Q544fKrFoe6tsEbD7S8EmxGTJYAKtTVhAW5Q5pge4j1note: the response is in bytes, we represented the address and owner in base54 and the data in hex for the sake of clarity.
[
{
"address": "HxGjvBoVFNX2gXzsJBA5Ttd61WH8RV8YXyA7yaVF8rnE",
"owner": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
"data": "069b8857feab8184fb687f634618c035dac439dc1aeb3b5598a0f000000000018d91334d84916c39"
},
{
"address": "J4kiQKJXCQm4Khmw5mtKvjfW7noFiF48Ngvoekp64Jdy",
"owner": "00000000000000000000000000000000000000000000000",
"data": "",
"deleted": true
}
]
Note: These restrictions are on the Substreams wsolana-accounts" endpoint itself, not implemented in this package. They are listed for your convenience.
Vote111111111111111111111111111111111111111 owner are all filtered out directly on the Substreams endpoint: they cannot be queried here.Modules
Output
sf.substreams.solana.type.v1.FilteredAccounts
Inputs
Output
sf.substreams.index.v1.Keys