call
调用executor提供的call。
这里用到的<data>
是经过ethabi编码的数据。
$ cldi help call
cldi-call
Call executor
USAGE:
cldi call [OPTIONS] <to> <data> [height]
ARGS:
<to> the target contract address
<data> the data of this call request
<height> the height of this call request
OPTIONS:
-f, --from <from> default to use current account address
-h, --help Print help information
height
为可选参数,不传递则表示默认取最新高度。
示例
cldi> call 0xf064e32407b6cc412fe33f6ba55f578ac413ecdc 0x06661abd