Skip to content

Commit

Permalink
add lamports filter
Browse files Browse the repository at this point in the history
  • Loading branch information
fanatid committed Jul 2, 2024
1 parent 9d5b251 commit 6c82b0f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions yellowstone-grpc-proto/proto/geyser.proto
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ message SubscribeRequestFilterAccounts {
message SubscribeRequestFilterAccountsFilter {
oneof filter {
SubscribeRequestFilterAccountsFilterMemcmp memcmp = 1;
SubscribeRequestFilterAccountsFilterLamports lamports = 4;
uint64 datasize = 2;
bool token_account_state = 3;
}
Expand All @@ -58,6 +59,15 @@ message SubscribeRequestFilterAccountsFilterMemcmp {
}
}

message SubscribeRequestFilterAccountsFilterLamports {
oneof value {
uint64 eq = 1;
uint64 ne = 2;
uint64 le = 3;
uint64 ge = 4;
}
}

message SubscribeRequestFilterSlots {
optional bool filter_by_commitment = 1;
}
Expand Down

0 comments on commit 6c82b0f

Please sign in to comment.