I have a smart contract deployed having the following function.
function getTime() public view returns (uint){
return now;
}
However, when I try to call the function like this. ("einstance" being the instance of the contract):
tme=einstance.functions.getTime()
tme
I receive:
<Function getTime() bound to ()>
How can I retrieve the time from this?
Best Answer