TARAXA
taraxa::net::EthClient Class Reference

#include <EthClient.h>

Collaboration diagram for taraxa::net::EthClient:

Public Member Functions

 EthClient (jsonrpc::IClientConnector &conn, jsonrpc::clientVersion_t type=jsonrpc::JSONRPC_CLIENT_V2)
 
std::string eth_protocolVersion () throw (jsonrpc::JsonRpcException)
 
std::string eth_coinbase () throw (jsonrpc::JsonRpcException)
 
std::string eth_gasPrice () throw (jsonrpc::JsonRpcException)
 
Json::Value eth_accounts () throw (jsonrpc::JsonRpcException)
 
std::string eth_blockNumber () throw (jsonrpc::JsonRpcException)
 
std::string eth_getBalance (const std::string &param1, const Json::Value &param2) throw (jsonrpc::JsonRpcException)
 
std::string eth_getStorageAt (const std::string &param1, const std::string &param2, const Json::Value &param3) throw (jsonrpc::JsonRpcException)
 
std::string eth_getStorageRoot (const std::string &param1, const std::string &param2) throw (jsonrpc::JsonRpcException)
 
std::string eth_getTransactionCount (const std::string &param1, const Json::Value &param2) throw (jsonrpc::JsonRpcException)
 
Json::Value eth_getBlockTransactionCountByHash (const std::string &param1) throw (jsonrpc::JsonRpcException)
 
Json::Value eth_getBlockTransactionCountByNumber (const std::string &param1) throw (jsonrpc::JsonRpcException)
 
Json::Value eth_getUncleCountByBlockHash (const std::string &param1) throw (jsonrpc::JsonRpcException)
 
Json::Value eth_getUncleCountByBlockNumber (const std::string &param1) throw (jsonrpc::JsonRpcException)
 
std::string eth_getCode (const std::string &param1, const Json::Value &param2) throw (jsonrpc::JsonRpcException)
 
std::string eth_call (const Json::Value &param1, const Json::Value &param2) throw (jsonrpc::JsonRpcException)
 
Json::Value eth_getBlockByHash (const std::string &param1, bool param2) throw (jsonrpc::JsonRpcException)
 
Json::Value eth_getBlockByNumber (const std::string &param1, bool param2) throw (jsonrpc::JsonRpcException)
 
Json::Value eth_getTransactionByHash (const std::string &param1) throw (jsonrpc::JsonRpcException)
 
Json::Value eth_getTransactionByBlockHashAndIndex (const std::string &param1, const std::string &param2) throw (jsonrpc::JsonRpcException)
 
Json::Value eth_getTransactionByBlockNumberAndIndex (const std::string &param1, const std::string &param2) throw (jsonrpc::JsonRpcException)
 
Json::Value eth_getTransactionReceipt (const std::string &param1) throw (jsonrpc::JsonRpcException)
 
Json::Value eth_getUncleByBlockHashAndIndex (const std::string &param1, const std::string &param2) throw (jsonrpc::JsonRpcException)
 
Json::Value eth_getUncleByBlockNumberAndIndex (const std::string &param1, const std::string &param2) throw (jsonrpc::JsonRpcException)
 
std::string eth_newFilter (const Json::Value &param1) throw (jsonrpc::JsonRpcException)
 
std::string eth_newBlockFilter () throw (jsonrpc::JsonRpcException)
 
std::string eth_newPendingTransactionFilter () throw (jsonrpc::JsonRpcException)
 
bool eth_uninstallFilter (const std::string &param1) throw (jsonrpc::JsonRpcException)
 
Json::Value eth_getFilterChanges (const std::string &param1) throw (jsonrpc::JsonRpcException)
 
Json::Value eth_getFilterLogs (const std::string &param1) throw (jsonrpc::JsonRpcException)
 
Json::Value eth_getLogs (const Json::Value &param1) throw (jsonrpc::JsonRpcException)
 
std::string eth_sendRawTransaction (const std::string &param1) throw (jsonrpc::JsonRpcException)
 
Json::Value eth_syncing () throw (jsonrpc::JsonRpcException)
 
std::string eth_estimateGas (const Json::Value &param1, const std::string &param2) throw (jsonrpc::JsonRpcException)
 
Json::Value eth_chainId () throw (jsonrpc::JsonRpcException)
 

Constructor & Destructor Documentation

◆ EthClient()

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

Member Function Documentation

◆ eth_accounts()

Json::Value taraxa::net::EthClient::eth_accounts ( )
throw (jsonrpc::JsonRpcException
)
inline

◆ eth_blockNumber()

std::string taraxa::net::EthClient::eth_blockNumber ( )
throw (jsonrpc::JsonRpcException
)
inline

◆ eth_call()

std::string taraxa::net::EthClient::eth_call ( const Json::Value &  param1,
const Json::Value &  param2 
)
throw (jsonrpc::JsonRpcException
)
inline

◆ eth_chainId()

Json::Value taraxa::net::EthClient::eth_chainId ( )
throw (jsonrpc::JsonRpcException
)
inline

◆ eth_coinbase()

std::string taraxa::net::EthClient::eth_coinbase ( )
throw (jsonrpc::JsonRpcException
)
inline

◆ eth_estimateGas()

std::string taraxa::net::EthClient::eth_estimateGas ( const Json::Value &  param1,
const std::string &  param2 
)
throw (jsonrpc::JsonRpcException
)
inline

◆ eth_gasPrice()

std::string taraxa::net::EthClient::eth_gasPrice ( )
throw (jsonrpc::JsonRpcException
)
inline

◆ eth_getBalance()

std::string taraxa::net::EthClient::eth_getBalance ( const std::string &  param1,
const Json::Value &  param2 
)
throw (jsonrpc::JsonRpcException
)
inline

◆ eth_getBlockByHash()

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

◆ eth_getBlockByNumber()

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

◆ eth_getBlockTransactionCountByHash()

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

◆ eth_getBlockTransactionCountByNumber()

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

◆ eth_getCode()

std::string taraxa::net::EthClient::eth_getCode ( const std::string &  param1,
const Json::Value &  param2 
)
throw (jsonrpc::JsonRpcException
)
inline

◆ eth_getFilterChanges()

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

◆ eth_getFilterLogs()

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

◆ eth_getLogs()

Json::Value taraxa::net::EthClient::eth_getLogs ( const Json::Value &  param1)
throw (jsonrpc::JsonRpcException
)
inline

◆ eth_getStorageAt()

std::string taraxa::net::EthClient::eth_getStorageAt ( const std::string &  param1,
const std::string &  param2,
const Json::Value &  param3 
)
throw (jsonrpc::JsonRpcException
)
inline

◆ eth_getStorageRoot()

std::string taraxa::net::EthClient::eth_getStorageRoot ( const std::string &  param1,
const std::string &  param2 
)
throw (jsonrpc::JsonRpcException
)
inline

◆ eth_getTransactionByBlockHashAndIndex()

Json::Value taraxa::net::EthClient::eth_getTransactionByBlockHashAndIndex ( const std::string &  param1,
const std::string &  param2 
)
throw (jsonrpc::JsonRpcException
)
inline

◆ eth_getTransactionByBlockNumberAndIndex()

Json::Value taraxa::net::EthClient::eth_getTransactionByBlockNumberAndIndex ( const std::string &  param1,
const std::string &  param2 
)
throw (jsonrpc::JsonRpcException
)
inline

◆ eth_getTransactionByHash()

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

◆ eth_getTransactionCount()

std::string taraxa::net::EthClient::eth_getTransactionCount ( const std::string &  param1,
const Json::Value &  param2 
)
throw (jsonrpc::JsonRpcException
)
inline

◆ eth_getTransactionReceipt()

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

◆ eth_getUncleByBlockHashAndIndex()

Json::Value taraxa::net::EthClient::eth_getUncleByBlockHashAndIndex ( const std::string &  param1,
const std::string &  param2 
)
throw (jsonrpc::JsonRpcException
)
inline

◆ eth_getUncleByBlockNumberAndIndex()

Json::Value taraxa::net::EthClient::eth_getUncleByBlockNumberAndIndex ( const std::string &  param1,
const std::string &  param2 
)
throw (jsonrpc::JsonRpcException
)
inline

◆ eth_getUncleCountByBlockHash()

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

◆ eth_getUncleCountByBlockNumber()

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

◆ eth_newBlockFilter()

std::string taraxa::net::EthClient::eth_newBlockFilter ( )
throw (jsonrpc::JsonRpcException
)
inline

◆ eth_newFilter()

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

◆ eth_newPendingTransactionFilter()

std::string taraxa::net::EthClient::eth_newPendingTransactionFilter ( )
throw (jsonrpc::JsonRpcException
)
inline

◆ eth_protocolVersion()

std::string taraxa::net::EthClient::eth_protocolVersion ( )
throw (jsonrpc::JsonRpcException
)
inline

◆ eth_sendRawTransaction()

std::string taraxa::net::EthClient::eth_sendRawTransaction ( const std::string &  param1)
throw (jsonrpc::JsonRpcException
)
inline

◆ eth_syncing()

Json::Value taraxa::net::EthClient::eth_syncing ( )
throw (jsonrpc::JsonRpcException
)
inline

◆ eth_uninstallFilter()

bool taraxa::net::EthClient::eth_uninstallFilter ( const std::string &  param1)
throw (jsonrpc::JsonRpcException
)
inline

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