eos icon indicating copy to clipboard operation
eos copied to clipboard

Can't see balance related info in eos account

Open yanxi123-com opened this issue 8 years ago • 5 comments

After creating accounts for sample "currency" contract cleos create account eosio currency PUBLIC_KEY_1 PUBLIC_KEY_2, I can't see balance related infomation. Please see below:

$ cleos version client
Build version: d3e289a5

$ cleos create account eosio currency PUBLIC_KEY_1 PUBLIC_KEY_2
......

$ cleos get account currency
{
  "account_name": "currency",
  "permissions": [{
      "perm_name": "active",
      "parent": "owner",
      "required_auth": {
        "threshold": 1,
        "keys": [{
            "key": "EOS5XwPc7LBYPm7ofTjoH54s3j7V7hBJs58j42hS4VRcnN2xyTES1",
            "weight": 1
          }
        ],
        "accounts": []
      }
    },{
      "perm_name": "owner",
      "parent": "",
      "required_auth": {
        "threshold": 1,
        "keys": [{
            "key": "EOS7FWFoz9BCGgdzxfUEkd5k5jvuqRf3c1vDw5YskP1TrD4YbCFdh",
            "weight": 1
          }
        ],
        "accounts": []
      }
    }
  ]
}

yanxi123-com avatar Mar 23 '18 16:03 yanxi123-com

me too....

jayden-sudo avatar Mar 29 '18 02:03 jayden-sudo

Maybe by "cleos get currency balance eosio.token tester
".

"root@eosio:~/data# cleos get currency balance eosio.token tester
0.9613646 OS"

Actually, the count is wrong for dawn-3.0

yankunsam avatar Apr 23 '18 06:04 yankunsam

me too

jon0008 avatar May 16 '18 02:05 jon0008

Hi, I am facing issue getting balance too; I am running it on Ubuntu-16.04, on tags/v1.0.1 branch. I successfully transfer tokens from one account to other using eosio.bios contract.

I tried following command to check the balance

  1. ./cleos get currency balance eosio.token bitcoin -- Got no response
  2. ./cleos get table eosio currency accounts -- Error 3060002: Account Query Exception Most likely, the given account doesn't exist in the blockchain. Error Details: Fail to retrieve account for inita

balance not visible0

Please help.

amolmaid avatar Jun 20 '18 07:06 amolmaid

To check balance: cleos get currency balance eosio.token <put_your_account_name_here>

or cleos get table eosio.token <put_your_account_name_here> accounts

andriantolie avatar Jul 03 '18 08:07 andriantolie