I setup a private chain and deploy an erc20 contract. I tried sending transaction of balanceOf and can get nothing but a transaction number as the return value. how can i get the balance of erc20 on geth console? My code is given below FYI
var contract = eth.contract(abi).at(eth.accounts[0])
contract.balanceOf.sendTransaction(eth.accounts[0],{from:eth.accounts[0],gas:60000})