history/get_controlled_accounts
history/get_controlled_accounts
调用返回指定账号的受控账号。
注意,nodeos时需要启用history_api_plugin插件,并且设置filter-on选项。
调用参数
JSON对象,声明主控账号,其成员为:
- controlling_account:主控账号名称,字符串
返回值
get_controlled_accounts
调用返回一组受控账号。
示例代码
调用请求:
~$ curl -X POST --url http://127.0.0.1:8888/v1/history/get_controlled_accounts -d '{
"controlling_account": "eosio"
}'
返回结果:
{
...
}