TARAXA
taraxa::net::TaraxaClient Class Reference

#include <TaraxaClient.h>

Collaboration diagram for taraxa::net::TaraxaClient:

Public Member Functions

 TaraxaClient (jsonrpc::IClientConnector &conn, jsonrpc::clientVersion_t type=jsonrpc::JSONRPC_CLIENT_V2)
 
std::string taraxa_protocolVersion () throw (jsonrpc::JsonRpcException)
 
Json::Value taraxa_getVersion () throw (jsonrpc::JsonRpcException)
 
Json::Value taraxa_getDagBlockByHash (const std::string &param1, bool param2) throw (jsonrpc::JsonRpcException)
 
Json::Value taraxa_getDagBlockByLevel (const std::string &param1, bool param2) throw (jsonrpc::JsonRpcException)
 
std::string taraxa_dagBlockLevel () throw (jsonrpc::JsonRpcException)
 
std::string taraxa_dagBlockPeriod () throw (jsonrpc::JsonRpcException)
 
Json::Value taraxa_getScheduleBlockByPeriod (const std::string &param1) throw (jsonrpc::JsonRpcException)
 
Json::Value taraxa_getNodeVersions () throw (jsonrpc::JsonRpcException)
 
Json::Value taraxa_getConfig () throw (jsonrpc::JsonRpcException)
 
Json::Value taraxa_getChainStats () throw (jsonrpc::JsonRpcException)
 
std::string taraxa_pbftBlockHashByPeriod (const std::string &param1) throw (jsonrpc::JsonRpcException)
 
std::string taraxa_yield (const std::string &param1) throw (jsonrpc::JsonRpcException)
 
std::string taraxa_totalSupply (const std::string &param1) throw (jsonrpc::JsonRpcException)
 
Json::Value taraxa_getPillarBlockData (const std::string &param1, bool param2) throw (jsonrpc::JsonRpcException)
 

Constructor & Destructor Documentation

◆ TaraxaClient()

taraxa::net::TaraxaClient::TaraxaClient ( jsonrpc::IClientConnector &  conn,
jsonrpc::clientVersion_t  type = jsonrpc::JSONRPC_CLIENT_V2 
)
inline

Member Function Documentation

◆ taraxa_dagBlockLevel()

std::string taraxa::net::TaraxaClient::taraxa_dagBlockLevel ( )
throw (jsonrpc::JsonRpcException
)
inline

◆ taraxa_dagBlockPeriod()

std::string taraxa::net::TaraxaClient::taraxa_dagBlockPeriod ( )
throw (jsonrpc::JsonRpcException
)
inline

◆ taraxa_getChainStats()

Json::Value taraxa::net::TaraxaClient::taraxa_getChainStats ( )
throw (jsonrpc::JsonRpcException
)
inline

◆ taraxa_getConfig()

Json::Value taraxa::net::TaraxaClient::taraxa_getConfig ( )
throw (jsonrpc::JsonRpcException
)
inline

◆ taraxa_getDagBlockByHash()

Json::Value taraxa::net::TaraxaClient::taraxa_getDagBlockByHash ( const std::string &  param1,
bool  param2 
)
throw (jsonrpc::JsonRpcException
)
inline

◆ taraxa_getDagBlockByLevel()

Json::Value taraxa::net::TaraxaClient::taraxa_getDagBlockByLevel ( const std::string &  param1,
bool  param2 
)
throw (jsonrpc::JsonRpcException
)
inline

◆ taraxa_getNodeVersions()

Json::Value taraxa::net::TaraxaClient::taraxa_getNodeVersions ( )
throw (jsonrpc::JsonRpcException
)
inline

◆ taraxa_getPillarBlockData()

Json::Value taraxa::net::TaraxaClient::taraxa_getPillarBlockData ( const std::string &  param1,
bool  param2 
)
throw (jsonrpc::JsonRpcException
)
inline

◆ taraxa_getScheduleBlockByPeriod()

Json::Value taraxa::net::TaraxaClient::taraxa_getScheduleBlockByPeriod ( const std::string &  param1)
throw (jsonrpc::JsonRpcException
)
inline

◆ taraxa_getVersion()

Json::Value taraxa::net::TaraxaClient::taraxa_getVersion ( )
throw (jsonrpc::JsonRpcException
)
inline

◆ taraxa_pbftBlockHashByPeriod()

std::string taraxa::net::TaraxaClient::taraxa_pbftBlockHashByPeriod ( const std::string &  param1)
throw (jsonrpc::JsonRpcException
)
inline

◆ taraxa_protocolVersion()

std::string taraxa::net::TaraxaClient::taraxa_protocolVersion ( )
throw (jsonrpc::JsonRpcException
)
inline

◆ taraxa_totalSupply()

std::string taraxa::net::TaraxaClient::taraxa_totalSupply ( const std::string &  param1)
throw (jsonrpc::JsonRpcException
)
inline

◆ taraxa_yield()

std::string taraxa::net::TaraxaClient::taraxa_yield ( const std::string &  param1)
throw (jsonrpc::JsonRpcException
)
inline

The documentation for this class was generated from the following file: