11 const jsonrpc::Request::Parameters ¶ms) {
12 if (params.size() > 1 or params.empty()) {
13 throw jsonrpc::InvalidParametersFault(
"Incorrect number of params");
17 if (!
id.IsInteger32()) {
18 throw jsonrpc::InvalidParametersFault(
19 "Parameter 'params' must be an integer value of subscriber ID");
23 return outcome::success();
outcome::result< void > init(const jsonrpc::Request::Parameters ¶ms)
std::vector< uint32_t > subscriber_id_
outcome::result< bool > execute()
std::shared_ptr< StateApi > api_