meshplus/bitxhub

Query interchainWrapper in target block

jzhe886 opened this issue · 1 comments

Development Task

query interchain wrapper in target block

bitxhub client interchain --height 123

小提示:

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