Stream SPL Token Program events with substreams.
substreams gui spl-token-events
If you see no output, please check that you have set a starting block, e.g. substreams gui spl-token-events -s 300000000
.
substreams gui spl-token-events@v0.1.7 spl_token_events
substreams gui spl-token-events@v0.1.7 sol:blocks_without_votes
substreams gui spl-token-events@v0.1.7 sol:transactions_by_programid_without_votes
substreams gui spl-token-events@v0.1.7 sol:transactions_by_programid_and_account_without_votes
blocks_without_votes
allows you to consume a full Solana Block without Vote instructions (Vote111111111111111111111111111111111111111
).
If you consume it on HISTORICAL data (+1000 blocks from HEAD), you will be reading from the StreamingFast cache, thus saving costs on the amount of TB read.
substreams gui spl-token-events@v0.1.7 sol:v020:blocks_without_votes
filtered_transactions_without_votes
allows you to consume transactions containing instructions from specific program_id based on a filter string.
Supported operators are: logical or ||
, logical and &&
and parenthesis: ()
.
Example: to only consume TRANSACTIONS containing Token or ComputeBudget instructions: program:TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA || program:ComputeBudget111111111111111111111111111111
.
Transactions containing Vote111111111111111111111111111111111111111
are always excluded.
substreams gui spl-token-events@v0.1.7 sol:v020:filtered_transactions_without_votes
substreams gui spl-token-events@v0.1.7 sol:program_ids_without_votes
substreams gui spl-token-events@v0.1.7 sol:program_ids_and_accounts_without_votes
program_ids_without_votes
creates a cache to efficiently retrieve instructions based on the program ID.
For example, the following sets keys for the Token program:
substreams gui spl-token-events@v0.1.7 sol:v020:program_ids_without_votes
message
Block
message
ConfirmedTransaction
message
Transaction
message
Message
message
MessageHeader
message
MessageAddressTableLookup
message
TransactionStatusMeta
message
TransactionError
message
InnerInstructions
message
InnerInstruction
message
CompiledInstruction
message
TokenBalance
message
UiTokenAmount
message
ReturnData
message
Reward
message
Rewards
message
UnixTimestamp
message
BlockHeight
enum
RewardType
message
DeployRequest
message
Parameter
message
DeployResponse
message
UpdateRequest
message
UpdateResponse
message
InfoRequest
message
InfoResponse
message
SinkProgress
message
PackageInfo
message
ListRequest
message
ListResponse
message
DeploymentWithStatus
message
RemoveRequest
message
RemoveResponse
message
PauseRequest
message
PauseResponse
message
StopRequest
message
StopResponse
message
ResumeRequest
message
ResumeResponse
enum
DeploymentStatus
message
Modules
message
Binary
message
Module
message
Package
message
PackageMetadata
message
ModuleMetadata
message
Clock
message
BlockRef
message
Request
message
Response
message
BlockUndoSignal
message
BlockScopedData
message
SessionInit
message
InitialSnapshotComplete
message
InitialSnapshotData
message
MapModuleOutput
message
StoreModuleOutput
message
OutputDebugInfo
message
ModulesProgress
message
ModuleProgress
message
BlockRange
message
StoreDelta
message
SplTokenBlockEvents
message
SplTokenTransactionEvents
message
SplTokenEvent
message
InitializeMintEvent
message
InitializeAccountEvent
message
InitializeMultisigEvent
message
TransferEvent
message
ApproveEvent
message
RevokeEvent
message
SetAuthorityEvent
message
MintToEvent
message
BurnEvent
message
CloseAccountEvent
message
FreezeAccountEvent
message
ThawAccountEvent
message
InitializeImmutableOwnerEvent
message
SyncNativeEvent
message
TokenAccount
enum
AuthorityType
message
FileDescriptorSet
message
FileDescriptorProto
message
DescriptorProto
message
ExtensionRangeOptions
message
FieldDescriptorProto
message
OneofDescriptorProto
message
EnumDescriptorProto
message
EnumValueDescriptorProto
message
ServiceDescriptorProto
message
MethodDescriptorProto
message
FileOptions
message
MessageOptions
message
FieldOptions
message
OneofOptions
message
EnumOptions
message
EnumValueOptions
message
ServiceOptions
message
MethodOptions
message
UninterpretedOption
message
SourceCodeInfo
message
GeneratedCodeInfo
message
Any
message
Timestamp