I always use following command to create a contract instance without any problem :
var contractInstance = new web3.eth.Contract(abi, '0xe1623AAf57fCbe260F022404C730ae32aebe39F6');
However, when currently I use this command, I receive following error :
TypeError: web3.eth.Contract is not a constructor
What is the reason ?
contract
(starting with lower-casec
). At least that's the case in web3.py, and would assume that it is also the case in web3.js.