bitxhub icon indicating copy to clipboard operation
bitxhub copied to clipboard

Query IBTP commnad

Open 4ever9 opened this issue 4 years ago • 1 comments

Development Task

Add a command that queries ibtp by id.

bitxhub client ibtp get <ibtp-id>

4ever9 avatar Aug 24 '20 05:08 4ever9

小提示:

  1. 新建cmd/bitxhub/client/ibtp.go文件;
  2. ibtpCMD()Subcommands添加get命令;
  3. get函数中通过sendTx的方式向bitxhub发送查询IBTP的交易;
  4. 将交易回执以json格式进行解析;

jzhe886 avatar Jun 28 '21 07:06 jzhe886