29 lines
895 B
YAML
29 lines
895 B
YAML
tx:
|
|
service: cosmos.bank.v1beta1.Msg
|
|
rpc_command_options:
|
|
- rpc_method: Send
|
|
use: send [from_key_or_address] [to_address] [amount...]
|
|
positional_args:
|
|
- proto_field: from_address
|
|
- proto_field: to_address
|
|
- proto_field: amount
|
|
varargs: true
|
|
query:
|
|
service: cosmos.bank.v1beta1.Query
|
|
rpc_command_options:
|
|
- rpc_method: Balance
|
|
use: balance [address] [denom]
|
|
positional_args:
|
|
- proto_field: address
|
|
- proto_field: denom
|
|
- rpc_method: SupplyOf
|
|
# this is a contrived example of how to customize flag options
|
|
# we would likely prefer positional args here, but this demonstrates usage
|
|
use: supply-of --denom [denom]
|
|
flag_options:
|
|
# flag_options is a map of proto field names to customization options
|
|
denom:
|
|
shorthand: d
|
|
usage: the denom to query
|
|
|