Skip to content

Commit

Permalink
add AccountBlock and Account to proto
Browse files Browse the repository at this point in the history
  • Loading branch information
sduchesneau committed Nov 13, 2024
1 parent af348c9 commit 90030f8
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions proto/sf/solana/type/v1/account.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
syntax = "proto3";

option go_package = "github.com/streamingfast/firehose-solana/pb/sf/solana/type/v1;pbsol";

package sf.solana.type.v1;

import "google/protobuf/timestamp.proto";

message AccountBlock {
uint64 slot = 1;
string hash = 2;
uint64 parent_slot = 3;
string parent_hash = 4;
google.protobuf.Timestamp timestamp = 6;
repeated Account accounts = 7;
}

message Account {
bytes address = 1;
bytes owner = 2;
bytes data = 3;
bool deleted = 7;
}

0 comments on commit 90030f8

Please sign in to comment.