public ResultWrapper <UInt256?> eth_getBlockTransactionCountByHash(Keccak blockHash) { SearchResult <Block> searchResult = _blockchainBridge.SearchForBlock(new BlockParameter(blockHash)); if (searchResult.IsError) { return(ResultWrapper <UInt256?> .Fail(searchResult)); } return(ResultWrapper <UInt256?> .Success((UInt256)searchResult.Object.Transactions.Length)); }