Explain where args come from and their types (#2186)

* Explain where args come from and their types

* Update api.query.other.md
This commit is contained in:
Jaco Greeff
2020-04-16 18:11:12 +02:00
committed by GitHub
parent 201308c259
commit a2269cd999
3 changed files with 15 additions and 12 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ A couple of items to note in the example above: we don't call `account` directly
...
// Retrieve a snapshot of the validators
const validators = await api.query.session.validators();
const validatorKeys = await api.query.session.validators.keys();
// Subscribe to the balances for these accounts
const unsub = await api.query.balances.account.multi(validators, (balances) => {