Kagome
Polkadot Runtime Engine in C++17
transaction_payment_api.hpp
Go to the documentation of this file.
1 
6 #ifndef KAGOME_TRANSACTION_PAYMENT_API_HPP
7 #define KAGOME_TRANSACTION_PAYMENT_API_HPP
8 
9 #include "common/buffer.hpp"
10 #include "primitives/block_id.hpp"
11 #include "primitives/extrinsic.hpp"
13 
14 namespace kagome::runtime {
15 
17  public:
18  virtual ~TransactionPaymentApi() = default;
19 
20  virtual outcome::result<primitives::RuntimeDispatchInfo> query_info(
21  const primitives::BlockHash &block,
22  const primitives::Extrinsic &ext,
23  uint32_t len) = 0;
24  };
25 
26 } // namespace kagome::runtime
27 
28 #endif // KAGOME_TRANSACTION_PAYMENT_API_HPP
virtual outcome::result< primitives::RuntimeDispatchInfo > query_info(const primitives::BlockHash &block, const primitives::Extrinsic &ext, uint32_t len)=0
Extrinsic class represents extrinsic.
Definition: extrinsic.hpp:24