The call depending on the section (eg. "account")
Array of args for the call
Optional
callback: ((result) => void)Callback function to enable subscription, if not given, no subscription will be made
Result of the query storage call
query
Generic function to make a chain query.
// you can query without any args
const data = await query('balances', 'totalIssuance');
// or you can pass args parameters to the storage query
const data = await query('system', 'account', ['5GesFQSwhmuMKAHcDrfm21Z5xrq6kW93C1ch2Xosq1rXx2Eh']);
Generated using TypeDoc
The section required to make the chain query (eg. "system")