Skip to main content
Version: v5.0.0

okp4d_query_staking_delegation

okp4d query staking delegation

Query a delegation based on address and validator address

Synopsis

Query delegations for an individual delegator on an individual validator.

Example: $ okp4d query staking delegation okp41gghjut3ccd8ay0zduzj64hwre2fxs9ld75ru9p okp4valoper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj

okp4d query staking delegation [delegator-addr] [validator-addr] [flags]

Options

      --grpc-addr string   the gRPC endpoint to use for this chain
--grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS
--height int Use a specific height to query state at (this can error if the node is pruning state)
-h, --help help for delegation
--node string <host>:<port> to Tendermint RPC interface for this chain (default "tcp://localhost:26657")
-o, --output string Output format (text|json) (default "text")

Options inherited from parent commands

      --chain-id string   The network chain ID (default "okp4d")

SEE ALSO