I am a newbie in Solidity. I am learning by reading official docs, i.e. Solidity I am trying to get the balance of an address in solidity using the simple balance
method. Below is my code:
pragma solidity ^0.5.1;
contract Firstry {
address abc = 0xCBD6832Ebc203e49E2B771897067fce3c58575ac ;
abc.balance(unit 256) ;
}
Upon trying to compile it, I am getting the following error:
ParseError : Expected Identifier but got '('.
Can anyone please help me with what I am doing wrong?