get_table_by_scope
通过code获取scope
./cleos get scope eosio.token -t accounts -l 4
{
"rows": [{
"code": "eosio.token",
"scope": "a11111111111",
"table": "accounts",
"payer": "eosio",
"count": 1
},{
"code": "eosio.token",
"scope": "a123",
"table": "accounts",
"payer": "eosio",
"count": 1
},{
"code": "eosio.token",
"scope": "a22222222222",
"table": "accounts",
"payer": "eosio",
"count": 1
},{
"code": "eosio.token",
"scope": "a33333333333",
"table": "accounts",
"payer": "eosio",
"count": 1
}
],
"more": true
}
参考
https://developers.eos.io/eosio-nodeos/v1.6.0/reference#get_table_by_scope
https://github.com/EOSIO/eos/pull/5486