add solana explorer subtreams
This commit is contained in:
9
solana-explorer/proto/block_meta.proto
Normal file
9
solana-explorer/proto/block_meta.proto
Normal file
@@ -0,0 +1,9 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package sol.block_meta.v1;
|
||||
|
||||
message BlockMeta {
|
||||
uint64 slot = 1;
|
||||
string hash = 2;
|
||||
string parent_hash = 3;
|
||||
}
|
||||
16
solana-explorer/proto/program_instructions.proto
Normal file
16
solana-explorer/proto/program_instructions.proto
Normal file
@@ -0,0 +1,16 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package sol.programs.v1;
|
||||
|
||||
message Instructions {
|
||||
repeated Instruction instructions = 1;
|
||||
}
|
||||
|
||||
message Instruction {
|
||||
string program_id = 1;
|
||||
repeated string accounts = 2;
|
||||
string data = 3;
|
||||
|
||||
uint64 slot_number = 4;
|
||||
string block_hash = 5;
|
||||
}
|
||||
Reference in New Issue
Block a user