Add timestamps to count* API responses
This commit is contained in:
parent
5ae9bb3cb3
commit
87107ad3db
@ -54,6 +54,8 @@ message GetBlocksResponse {
|
|||||||
}
|
}
|
||||||
message CountBlocksResponse {
|
message CountBlocksResponse {
|
||||||
uint64 count = 1;
|
uint64 count = 1;
|
||||||
|
int64 start_timestamp = 2;
|
||||||
|
int64 end_timestamp = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
message GetTransactionByHashRequest {
|
message GetTransactionByHashRequest {
|
||||||
@ -86,4 +88,6 @@ message GetTransactionsResponse {
|
|||||||
}
|
}
|
||||||
message CountTransactionsResponse {
|
message CountTransactionsResponse {
|
||||||
uint64 count = 1;
|
uint64 count = 1;
|
||||||
|
int64 start_timestamp = 2;
|
||||||
|
int64 end_timestamp = 3;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user