hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
proto_get_account_asset_transactions.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_GET_ACCOUNT_ASSET_TRANSACTIONS_H
7 #define IROHA_GET_ACCOUNT_ASSET_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::types::AssetIdType &assetId() const override;
24 
25  const interface::TxPaginationMeta &paginationMeta() const override;
26 
27  private:
28  // ------------------------------| fields |-------------------------------
29 
30  const iroha::protocol::GetAccountAssetTransactions
31  &account_asset_transactions_;
32  const TxPaginationMeta pagination_meta_;
33  };
34 
35  } // namespace proto
36 } // namespace shared_model
37 
38 #endif // IROHA_GET_ACCOUNT_ASSET_TRANSACTIONS_H
const interface::TxPaginationMeta & paginationMeta() const override
Get the query pagination metadata.
Definition: proto_get_account_asset_transactions.cpp:32
Definition: get_account_asset_transactions.hpp:21
const interface::types::AccountIdType & accountId() const override
Definition: proto_get_account_asset_transactions.cpp:22
GetAccountAssetTransactions(iroha::protocol::Query &query)
Definition: proto_get_account_asset_transactions.cpp:13
std::string AccountIdType
Type of account id.
Definition: types.hpp:39
const interface::types::AssetIdType & assetId() const override
Definition: proto_get_account_asset_transactions.cpp:26
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
Definition: command_executor.hpp:12
Definition: proto_get_account_asset_transactions.hpp:16
std::string AssetIdType
Type of asset id.
Definition: types.hpp:55