bitxhub icon indicating copy to clipboard operation
bitxhub copied to clipboard

Query interchainWrapper in target block

Open jzhe886 opened this issue 3 years ago • 1 comments

Development Task

query interchain wrapper in target block

bitxhub client interchain --height 123

jzhe886 avatar Jun 28 '21 06:06 jzhe886

小提示:

  1. 代码逻辑在cmd/bitxhub/client/block.go文件;
  2. 添加blockCMD()Subcommands添加interchain命令;
  3. getInterchainWrappers函数中通过http get的方式向url为interchain_tx_wrappers?start=%d&end=%d发送请求;
  4. 将返回值以json格式进行解析;

jzhe886 avatar Jun 28 '21 07:06 jzhe886