Eos: Can't see balance related info in eos account

Created on 23 Mar 2018  路  5Comments  路  Source: EOSIO/eos

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": []
      }
    }
  ]
}

All 5 comments

me too....

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

me too

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.

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

Was this page helpful?
0 / 5 - 0 ratings