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

Method eth_inspectTransaction

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

Source from the content-addressed store, hash-verified

313}
314
315Json::Value Eth::eth_inspectTransaction(std::string const& _rlp)
316{
317 try
318 {
319 return toJson(Transaction(jsToBytes(_rlp, OnFailed::Throw), CheckTransaction::Everything));
320 }
321 catch (...)
322 {
323 BOOST_THROW_EXCEPTION(JsonRpcException(Errors::ERROR_RPC_INVALID_PARAMS));
324 }
325}
326
327string Eth::eth_sendRawTransaction(std::string const& _rlp)
328{

Callers 1

Calls 3

jsToBytesFunction · 0.85
toJsonFunction · 0.70
TransactionClass · 0.70

Tested by

no test coverage detected