Skip to main content
Version: Next

axoned_query_wasm_contract-state_smart

axoned 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

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

Options

      --ascii              ascii encoded query argument
--b64 base64 encoded query argument
--grpc-addr string the gRPC endpoint to use for this chain
--grpc-insecure allow gRPC over insecure channels, if not 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 smart
--hex hex encoded query argument
--node string <host>:<port> to CometBFT RPC interface for this chain (default "tcp://localhost:26657")
-o, --output string Output format (text|json) (default "text")

SEE ALSO