MCPcopy Create free account
hub / github.com/LUX-Core/lux / eth_getStorageRoot

Method eth_getStorageRoot

src/cpp-ethereum/libweb3jsonrpc/Eth.cpp:131–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131string Eth::eth_getStorageRoot(string const& _address, string const& _blockNumber)
132{
133 try
134 {
135 return toString(client()->stateRootAt(jsToAddress(_address), jsToBlockNumber(_blockNumber)));
136 }
137 catch (...)
138 {
139 BOOST_THROW_EXCEPTION(JsonRpcException(Errors::ERROR_RPC_INVALID_PARAMS));
140 }
141}
142
143string Eth::eth_pendingTransactions()
144{

Callers 1

eth_getStorageRootIMethod · 0.80

Calls 4

jsToAddressFunction · 0.85
jsToBlockNumberFunction · 0.85
stateRootAtMethod · 0.80
toStringFunction · 0.50

Tested by

no test coverage detected