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

Method blockInfo

src/cpp-ethereum/libethereum/Interface.cpp:52–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52BlockHeader Interface::blockInfo(BlockNumber _block) const
53{
54 if (_block == PendingBlock)
55 return pendingInfo();
56 return blockInfo(hashFromNumber(_block));
57}
58
59BlockDetails Interface::blockDetails(BlockNumber _block) const
60{

Callers 2

eth_getBlockByHashMethod · 0.45
eth_getBlockByNumberMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected