hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
get_asset_info.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_GET_ASSET_INFO_HPP
7 #define IROHA_GET_ASSET_INFO_HPP
8 
9 #include <string>
10 #include "model/query.hpp"
11 
12 namespace iroha {
13  namespace model {
17  struct GetAssetInfo : Query {
19 
20  GetAssetInfo(std::string asset_id) : asset_id(asset_id) {}
21 
25  std::string asset_id{};
26  };
27  } // namespace model
28 } // namespace iroha
29 
30 #endif // IROHA_GET_ASSET_INFO_HPP
GetAssetInfo()
Definition: get_asset_info.hpp:18
Definition: block_query.hpp:16
Definition: get_asset_info.hpp:17
std::string asset_id
Definition: get_asset_info.hpp:25
GetAssetInfo(std::string asset_id)
Definition: get_asset_info.hpp:20
Definition: query.hpp:20