aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--webthreestubclient.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/webthreestubclient.h b/webthreestubclient.h
index 2636d172..162c84b4 100644
--- a/webthreestubclient.h
+++ b/webthreestubclient.h
@@ -328,6 +328,19 @@ p.append(param3);
}
+ std::string eth_serpent(const std::string& param1) throw (jsonrpc::JsonRpcException)
+ {
+ Json::Value p;
+ p.append(param1);
+
+ Json::Value result = this->client->CallMethod("eth_serpent",p);
+ if (result.isString())
+ return result.asString();
+ else
+ throw jsonrpc::JsonRpcException(jsonrpc::Errors::ERROR_CLIENT_INVALID_RESPONSE, result.toStyledString());
+
+ }
+
bool eth_setCoinbase(const std::string& param1) throw (jsonrpc::JsonRpcException)
{
Json::Value p;