Commit eacb40c 1 parent b23aca0 commit eacb40c Copy full SHA for eacb40c
File tree 1 file changed +15
-0
lines changed
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ service Mainchain {
41
41
rpc GetBmmHStarCommitments (GetBmmHStarCommitmentsRequest )
42
42
returns (GetBmmHStarCommitmentsResponse );
43
43
rpc GetChainTip (GetChainTipRequest ) returns (GetChainTipResponse );
44
+ rpc GetTwoWayPegData (GetTwoWayPegDataRequest )
45
+ returns (GetTwoWayPegDataResponse );
44
46
rpc SubscribeEvents (SubscribeEventsRequest ) returns (stream EventResponse );
45
47
}
46
48
@@ -73,6 +75,19 @@ message GetChainTipResponse {
73
75
BlockHeaderInfo block_header_info = 1 ;
74
76
}
75
77
78
+ message GetTwoWayPegDataRequest {
79
+ uint32 sidechain_id = 1 ;
80
+ bytes start_block_hash = 2 ;
81
+ bytes end_block_hash = 3 ;
82
+ }
83
+ message GetTwoWayPegDataResponse {
84
+ message ResponseItem {
85
+ BlockHeaderInfo block_header_info = 1 ;
86
+ BlockInfo block_info = 2 ;
87
+ }
88
+ repeated ResponseItem blocks = 1 ;
89
+ }
90
+
76
91
message SubscribeEventsRequest {
77
92
}
78
93
message EventResponse {
You can’t perform that action at this time.
0 commit comments