def _gas_limit(self):
        ethereum_setting = {}
        if self.get_ethereum_addres()[0].keys() == {}:
            result_of_gas_limit = 0
        else:
            ethereum_setting = self.get_ethereum_addres()
            ethereum_setting = ethereum_setting[0]
            web3 = Web3(HTTPProvider(ethereum_setting['address_node']))
            abi_json = ethereum_setting['ethereum_interface']
            ethereum_contract_address = ethereum_setting['ethereum_address']
            contract =  web3.eth.contract(abi = json.loads(abi_json), address=ethereum_contract_address)
            result_of_gas_limit = contract.call().getGasLimit()
            self.gas_limit = result_of_gas_limit
        return result_of_gas_limit