Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.37 KB

axelard_query_wasm_contract-state_smart.md

File metadata and controls

37 lines (27 loc) · 1.37 KB

axelard query wasm contract-state smart

Calls contract with given address with query data and prints the returned result

Synopsis

Calls contract with given address with query data and prints the returned result

axelard query wasm contract-state smart [bech32_address] [query] [flags]

Options

      --ascii           ascii encoded query argument
      --b64             base64 encoded query argument
      --height int      Use a specific height to query state at (this can error if the node is pruning state)
  -h, --help            help for smart
      --hex             hex encoded query argument
      --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 "axelar")
      --home string         directory for config and data (default "$HOME/.axelar")
      --log_format string   The logging format (json|plain) (default "plain")
      --log_level string    The logging level (trace|debug|info|warn|error|fatal|panic) (default "info")
      --trace               print out full stack trace on errors

SEE ALSO