@@ -179,10 +179,10 @@ class AleoNetworkClient {
179
179
* @param {number } params.startHeight - The height at which to start searching for unspent records
180
180
* @param {number } [params.endHeight] - The height at which to stop searching for unspent records
181
181
* @param {boolean } [params.unspent=false] - Whether to search for unspent records only
182
- * @param {string[] } [params.programs] - The program(s) to search for unspent records in
183
- * @param {number[] } [params.amounts] - The amounts (in microcredits) to search for (eg. [100, 200, 3000])
182
+ * @param {string[] } [params.programs=[] ] - The program(s) to search for unspent records in
183
+ * @param {number[] } [params.amounts=[] ] - The amounts (in microcredits) to search for (eg. [100, 200, 3000])
184
184
* @param {number } [params.maxMicrocredits] - The maximum number of microcredits to search for
185
- * @param {string[] } [params.nonces] - The nonces of already found records to exclude from the search
185
+ * @param {string[] } [params.nonces=[] ] - The nonces of already found records to exclude from the search
186
186
* @param {string | PrivateKey } [params.privateKey] - An optional private key to use to find unspent records.
187
187
* @returns {Promise<Array<RecordPlaintext>> } An array of records belonging to the account configured in the network client.
188
188
*
@@ -513,10 +513,10 @@ class AleoNetworkClient {
513
513
* @param {Object } params
514
514
* @param {number } params.startHeight - The height at which to start searching for unspent records
515
515
* @param {number } [params.endHeight] - The height at which to stop searching for unspent records
516
- * @param {string[] } [params.programs] - The program(s) to search for unspent records in
517
- * @param {number[] } [params.amounts] - The amounts (in microcredits) to search for (eg. [100, 200, 3000])
516
+ * @param {string[] } [params.programs=[] ] - The program(s) to search for unspent records in
517
+ * @param {number[] } [params.amounts=[] ] - The amounts (in microcredits) to search for (eg. [100, 200, 3000])
518
518
* @param {number } [params.maxMicrocredits] - The maximum number of microcredits to search for
519
- * @param {string[] } [params.nonces] - The nonces of already found records to exclude from the search
519
+ * @param {string[] } [params.nonces=[] ] - The nonces of already found records to exclude from the search
520
520
* @param {string | PrivateKey } [params.privateKey] - An optional private key to use to find unspent records.
521
521
* @returns {Promise<Array<RecordPlaintext>> } An array of unspent records belonging to the account configured in the network client.
522
522
*
0 commit comments