6 #ifndef KAGOME_REQUESTS_HAS_SESSION_KEYS_HPP 7 #define KAGOME_REQUESTS_HAS_SESSION_KEYS_HPP 9 #include <jsonrpc-lean/request.h> 24 outcome::result<Return>
execute()
override {
26 return api_->hasSessionKeys(gsl::span(keys.data(), keys.size()));
30 std::shared_ptr<AuthorApi>
api_;
35 #endif // KAGOME_REQUESTS_HAS_SESSION_KEYS_HPP
std::shared_ptr< AuthorApi > api_
outcome::result< std::vector< uint8_t > > unhexWith0x(std::string_view hex_with_prefix)
Unhex hex-string with 0x in the begining.
outcome::result< Return > execute() override
HasSessionKeys(std::shared_ptr< AuthorApi > api)