Eos: cleos get table returns empty rows for eosio.token contract accounts

Created on 8 Apr 2018  路  5Comments  路  Source: EOSIO/eos

Successfully deployed the eosio.token smart contract and transferred the currency between 2 accounts (tester, user). The overdrawn balance checks are triggered and the transactions run smoothly. However cleos get table returns empty rows for the accounts involved:

~/eos/build/contracts$ cleos get table eosio.token user account
{
"rows": [],
"more": false
}

~/eos/build/contracts$ cleos get table eosio.token tester account
{
"rows": [],
"more": false
}

The build is the latest master branch.

Most helpful comment

@brightermatter the table name is accounts (ABI file is wrong)

cleos get table eosio.token user accounts

This is being addressed in #2291

All 5 comments

I also get empty rows from eosio.token by table.
but if you want to get the balance of account, I think you can use "cleos get currency balance eosio.token account symbol".

cleos get currency balance eosio.token account EOS
=> will return EMPTY

It works for me. You need need to replace the name of the account in the command i.e. :

cleos get currency balance eosio.token tester EOS

@brightermatter got it, thanks

@brightermatter the table name is accounts (ABI file is wrong)

cleos get table eosio.token user accounts

This is being addressed in #2291

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hsejin314 picture hsejin314  路  3Comments

williamleecn picture williamleecn  路  3Comments

chanwitkepha picture chanwitkepha  路  3Comments

hadramidah picture hadramidah  路  3Comments

yashbhavsar007 picture yashbhavsar007  路  3Comments