diff --git a/bdledger/api/query.proto b/bdledger/api/query.proto index 48c7470..da78a91 100644 --- a/bdledger/api/query.proto +++ b/bdledger/api/query.proto @@ -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;