Stream SPL Token Program events with substreams.
STREAMINGFAST_KEY
with an API key.. ./token.sh
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.
substreams gui spl-token-events@v0.1.1 spl_token_block_events
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
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
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
message
Modules
message
Binary
message
Module
message
Package
message
NetworkParams
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
ProcessedBytes
message
Error
message
Job
message
Stage
message
ModuleStats
message
ExternalCallMetric
message
StoreDelta
message
BlockRange