Commit c593a67 1 parent b23aca0 commit c593a67 Copy full SHA for c593a67
File tree 1 file changed +14
-0
lines changed
1 file changed +14
-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,18 @@ message GetChainTipResponse {
73
75
BlockHeaderInfo block_header_info = 1 ;
74
76
}
75
77
78
+ message GetTwoWayPegDataRequest {
79
+ bytes start_block_hash = 1 ;
80
+ bytes end_block_hash = 2 ;
81
+ }
82
+ message GetTwoWayPegDataResponse {
83
+ message ResponseItem {
84
+ BlockHeaderInfo block_header_info = 1 ;
85
+ BlockInfo block_info = 2 ;
86
+ }
87
+ repeated ResponseItem blocks = 1 ;
88
+ }
89
+
76
90
message SubscribeEventsRequest {
77
91
}
78
92
message EventResponse {
You can’t perform that action at this time.
0 commit comments