diff --git a/gateway/gateway.py b/gateway/gateway.py
index a278af44e57614a268bfbedac68b28dde540b07a..621f731142b1d9e2cfd02a2bc2d6b89309ae674a 100644
--- a/gateway/gateway.py
+++ b/gateway/gateway.py
@@ -156,9 +156,9 @@ class Gateway:
     def get_tx_input(self, contract, tx):
         return contract.decode_function_input(tx.input)
 
-    def block_is_canonical_poa(self, transaction):
+    def block_is_canonical_poa(self, block_number):
         last_block_number = self.get_last_blocknumber()
-        tx_block_number = transaction.blockNumber
+        tx_block_number = block_number
         required_block_difference = math.ceil(self.get_signers_count() / 2) + 1
         return (last_block_number - tx_block_number) > required_block_difference
 
@@ -331,3 +331,9 @@ class HTTPFastLogSearcher:
                 for i in v:
                     res.append(i)
             return res
+
+
+class AddressValidation:
+
+    def is_valid(self, address):
+        return Web3.isAddress(address)