Stream Metaplex Token Metadata events with substreams.
substreams gui mpl-token-metadaata-events
If you see no output, please check that you have set a starting block, e.g. substreams gui mpl-token-metadaata-events -s 300000000
.
Because of the complexity of the metadata program, I will not expand this particular substream. It's generally better to just account data directly from an RPC (if you need just state data).
substreams gui mpl-token-metadata-events@v0.1.7 mpl_token_metadata_events
substreams gui mpl-token-metadata-events@v0.1.7 sol:blocks_without_votes
substreams gui mpl-token-metadata-events@v0.1.7 sol:transactions_by_programid_without_votes
substreams gui mpl-token-metadata-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 mpl-token-metadata-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 mpl-token-metadata-events@v0.1.7 sol:v020:filtered_transactions_without_votes
substreams gui mpl-token-metadata-events@v0.1.7 sol:program_ids_without_votes
substreams gui mpl-token-metadata-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 mpl-token-metadata-events@v0.1.7 sol:v020:program_ids_without_votes
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
MplTokenMetadataBlockEvents
message
MplTokenMetadataTransactionEvents
message
MplTokenMetadataEvent
message
ApproveCollectionAuthorityEvent
message
ApproveUseAuthorityEvent
message
BubblegumSetCollectionSizeEvent
message
BurnEvent
message
BurnEditionNftEvent
message
BurnNftEvent
message
CloseEscrowAccountEvent
message
ConvertMasterEditionV1ToV2Event
message
CreateEscrowAccountEvent
message
CreateMasterEditionEvent
message
CreateMasterEditionV3Event
message
CreateMetadataAccountEvent
message
CreateMetadataAccountV2Event
message
DelegateEvent
message
DeprecatedCreateMasterEditionEvent
message
DeprecatedCreateReservationListEvent
message
DeprecatedMintNewEditionFromMasterEditionViaPrintingTokenEvent
message
DeprecatedMintPrintingTokensEvent
message
DeprecatedMintPrintingTokensViaTokenEvent
message
DeprecatedSetReservationListEvent
message
FreezeDelegatedAccountEvent
message
LockEvent
message
MigrateEvent
message
MintNewEditionFromMasterEditionViaTokenEvent
message
MintNewEditionFromMasterEditionViaVaultProxyEvent
message
PuffMetadataEvent
message
RemoveCreatorVerificationEvent
message
RevokeEvent
message
RevokeCollectionAuthorityEvent
message
RevokeUseAuthorityEvent
message
SetAndVerifyCollectionEvent
message
SetAndVerifySizedCollectionItemEvent
message
SetTokenStandardEvent
message
SignMetadataEvent
message
ThawDelegatedAccountEvent
message
TransferEvent
message
TransferOutOfEscrowEvent
message
UnlockEvent
message
UnverifyEvent
message
UnverifyCollectionEvent
message
UnverifySizedCollectionItemEvent
message
UpdateMetadataAccountEvent
message
UpdatePrimarySaleHappenedViaTokenEvent
message
UtilizeEvent
message
PrintEvent
message
VerifyEvent
message
MintEvent
message
SetCollectionSizeEvent
message
CollectEvent
message
UseEvent
message
VerifySizedCollectionItemEvent
message
VerifyCollectionEvent
message
ResizeEvent
message
CloseAccountsEvent
message
CreateMetadataAccountV3Event
message
CreateEvent
message
UpdateEvent
message
UpdateMetadataAccountV2Event
message
UpdateArgsV1
message
UpdateArgsAsUpdateAuthorityV2
message
UpdateArgsAsAuthorityItemDelegateV2
message
UpdateArgsAsCollectionDelegateV2
message
UpdateArgsAsDataDelegateV2
message
UpdateArgsAsProgrammableConfigDelegateV2
message
UpdateArgsAsDataItemDelegateV2
message
UpdateArgsAsCollectionItemDelegateV2
message
UpdateArgsAsProgrammableConfigItemDelegateV2
message
Data
message
PrintSupply
message
AssetData
message
RuleSetToggle
message
CollectionToggle
message
AuthorizationData
message
CollectionDetailsToggle
message
UsesToggle
message
TokenStandard
message
DataV2
message
Uses
message
Collection
message
CollectionDetails
message
CollectionDetailsV1
message
CollectionDetailsV2
message
Creator
enum
UseMethod
enum
Toggle
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
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
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