Skip to content

Commit dc9b2fd

Browse files
authored
docs: Add agd query vstorage keys command reference (#1122)
1 parent 4c6ced2 commit dc9b2fd

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

main/guides/agoric-cli/agd-query-tx.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ $ agd query bank balances $addr -o json
118118

119119
## agd query gov proposals
120120

121-
Query for a all paginated proposals that match optional filters:
121+
Query for a all paginated proposals that match optional filters.
122122

123123
Example:
124124

@@ -130,6 +130,17 @@ $ agd query gov proposals --output json | \
130130
["3","2023-11-14T17:44:37.432643476Z","PROPOSAL_STATUS_PASSED"]
131131
```
132132

133+
## agd query vstorage keys
134+
135+
Query for the data residing at specified path in VStorage.
136+
137+
Example:
138+
```
139+
$ agd query vstorage keys 'published.vaultFactory.managers.manager0.vaults'
140+
children:
141+
- vault0
142+
```
143+
133144
## Transaction Commands
134145

135146
Making transactions requires setting up an **account** with a private key for signing. The [basic dapp local chain](../getting-started/#starting-a-local-agoric-blockchain) container has a number of keys set up for use with `--keyring-backend=test`. Use `agd keys list --keyring-backend=test` to see them.

0 commit comments

Comments
 (0)