Query

  • Command line:

  secretcli q compute query <contract-address> '<JSON-formatted message>'
  • RESTful API:

<light-client-address>/wasm/contracts/<contract-address>/store?query=<JSON-formatted message>

How to organize query message

You may check <contract>/src/msg.rs of each contract.

Last updated