public async Task <Transaction[]> GetAccountsTransactions(Metadata headers, string[] accountsIds, Timestamp from, Timestamp to)
        {
            var request = new AccountsMicroservice.GetTransactionsRequest {
                Ids = { accountsIds }, TimestampFrom = from, TimestampTo = to
            };
            var response = await accountsClient.GetTransactionsAsync(request, headers);

            return(response.Transactions.ToArray());
        }