This package allows filtered access to a stream of account changes based on the account or the owner of that account.
owner:TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
account:AwjomjhbNqkgEZN1ADvbEcTYsDfBuX4AKzNmxwgtKvxM || account:5Q544fKrFoe6tsEbD7S8EmxGTJYAKtTVhAW5Q5pge4j1
note: 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.substreams gui solana-accounts-foundational@v0.0.4 filtered_accounts
index_accounts
will index the accounts by their address and owner as given in the account block
ex: account:AwjomjhbNqkgEZN1ADvbEcTYsDfBuX4AKzNmxwgtKvxM
, owner:stk17KkSJ7amyTVpGBHgo3Kcz52GjkzKYXuDwsFSk95
substreams gui solana-accounts-foundational@v0.0.4 index_accounts
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
message
AccountBlock
message
Account
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
SingleBlockRequest
message
SingleBlockResponse
message
Request
message
Response
message
BlockMetadata
message
InfoRequest
message
InfoResponse
enum
ForkStep
message
StoreDeltas
message
StoreDelta
message
Clock
message
BlockRef
message
Package
message
NetworkParams
message
PackageMetadata
message
ModuleMetadata
message
Modules
message
Binary
message
Module
message
Timestamp
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
FeatureSet
message
FeatureSetDefaults
message
SourceCodeInfo
message
GeneratedCodeInfo
enum
Edition
message
Any
message
ProcessRangeRequest
message
ProcessRangeResponse
message
Update
message
ModuleStats
message
ExternalCallMetric
message
Completed
message
Failed
message
BlockRange
enum
WASMModuleType
message
ModuleOutput
message
Operations
message
Operation
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