Skip to content

Commit

Permalink
Update the archway developer cli query command (#531)
Browse files Browse the repository at this point in the history
  • Loading branch information
emperorjm authored Oct 8, 2024
1 parent b1f9ff6 commit 009e0a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ To find the required fields for querying, refer to the `QueryMsg` enum in `msg.r
To query the results of a specific poll, use the following command, replacing the placeholder `poll_id` with the ID of the poll you want to retrieve results for:

```bash
archway contracts query voting --args '{"poll_results": {"poll_id": "poll_1"}}'
archway contracts query smart voting --args '{"poll_results": {"poll_id": "poll_1"}}'
```

In this example, the query fetches the results for the poll with `poll_id` set to `"poll_1"`.
Expand Down

0 comments on commit 009e0a0

Please sign in to comment.