Move required field up in BlocksRequest and TransactionsRequest
This commit is contained in:
commit
d80d6d2544
@ -43,9 +43,9 @@ message GetBlockByHashResponse {
|
||||
|
||||
message BlocksRequest {
|
||||
string ledger = 1;
|
||||
repeated BlockFilter filters = 2;
|
||||
int64 start_timestamp = 3; // required
|
||||
int64 end_timestamp = 4;
|
||||
int64 start_timestamp = 2; // required
|
||||
int64 end_timestamp = 3;
|
||||
repeated BlockFilter filters = 4;
|
||||
}
|
||||
message GetBlocksResponse {
|
||||
repeated Block blocks = 1;
|
||||
@ -75,9 +75,9 @@ message GetTransactionByBlockHashAndIndexResponse {
|
||||
|
||||
message TransactionsRequest {
|
||||
string ledger = 1;
|
||||
repeated TransactionFilter filters = 2;
|
||||
int64 start_timestamp = 3; // required
|
||||
int64 end_timestamp = 4;
|
||||
int64 start_timestamp = 2; // required
|
||||
int64 end_timestamp = 3;
|
||||
repeated TransactionFilter filters = 4;
|
||||
}
|
||||
message GetTransactionsResponse {
|
||||
repeated Transaction transactions = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user