Command Line Client
Global flags of query commands
All query commands has these global flags. Their unique flags will be introduced later.
Name, shorthand | type | Required | Default Value | Description |
---|---|---|---|---|
--chain-id | string | false | "" | Chain ID of tendermint node |
--height | int | false | 0 | Block height to query, omit to get most recent provable block |
--help, -h | string | false | Print help message | |
--output | string | false | text | Response format text or json |
--indent | bool | false | false | Add indent to JSON response |
--ledger | bool | false | false | Use a connected Ledger device |
--node | string | false | tcp://localhost:26657 | \:\ to tendermint rpc interface for this chain |
--trust-node | bool | false | true | Don't verify proofs for responses |
Json indent response
output
specify the output format of the query:
Not specified, return text format as default:
$ ./lambdacli query staking validators
Validator
Operator Ad