diff --git a/proto/sf/solana/type/v1/account.proto b/proto/sf/solana/type/v1/account.proto new file mode 100644 index 0000000..b06e3d4 --- /dev/null +++ b/proto/sf/solana/type/v1/account.proto @@ -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; +}