hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
proto_get_account_transactions.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_GET_ACCOUNT_TRANSACTIONS_H
7 #define IROHA_GET_ACCOUNT_TRANSACTIONS_H
8 
10 
12 #include "queries.pb.h"
13 
14 namespace shared_model {
15  namespace proto {
18  public:
20 
21  const interface::types::AccountIdType &accountId() const override;
22 
23  const interface::TxPaginationMeta &paginationMeta() const override;
24 
25  private:
26  // ------------------------------| fields |-------------------------------
27 
28  const iroha::protocol::GetAccountTransactions &account_transactions_;
29  const TxPaginationMeta pagination_meta_;
30  };
31 
32  } // namespace proto
33 } // namespace shared_model
34 
35 #endif // IROHA_GET_ACCOUNT_TRANSACTIONS_H
Definition: get_account_transactions.hpp:21
std::string AccountIdType
Type of account id.
Definition: types.hpp:39
const interface::TxPaginationMeta & paginationMeta() const override
Get the query pagination metadata.
Definition: proto_get_account_transactions.cpp:25
Provides query metadata for any transaction list pagination.
Definition: tx_pagination_meta.hpp:17
Provides query metadata for any transaction list pagination.
Definition: proto_tx_pagination_meta.hpp:18
const interface::types::AccountIdType & accountId() const override
Definition: proto_get_account_transactions.cpp:20
Definition: command_executor.hpp:12
Definition: proto_get_account_transactions.hpp:16
GetAccountTransactions(iroha::protocol::Query &query)
Definition: proto_get_account_transactions.cpp:13