EOS RPC API手册

在线工具推荐: Three.js AI纹理开发包 - YOLO合成数据生成器 - GLTF/GLB在线编辑 - 3D模型格式在线转换 - 可编程3D场景编辑器

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"
}'

返回结果:

{
  ...
}