Query interchainWrapper in target block
jzhe886 opened this issue · 1 comments
jzhe886 commented
Development Task
query interchain wrapper in target block
bitxhub client interchain --height 123
jzhe886 commented
小提示:
- 代码逻辑在cmd/bitxhub/client/block.go文件;
- 添加
blockCMD()
的Subcommands
添加interchain
命令; getInterchainWrappers
函数中通过http get
的方式向url为interchain_tx_wrappers?start=%d&end=%d
发送请求;- 将返回值以json格式进行解析;