@@ -212,10 +212,10 @@ class AleoNetworkClient {
212
212
* @param {number } params.startHeight - The height at which to start searching for unspent records
213
213
* @param {number } [params.endHeight] - The height at which to stop searching for unspent records
214
214
* @param {boolean } [params.unspent=false] - Whether to search for unspent records only
215
- * @param {string[] } [params.programs] - The program(s) to search for unspent records in
216
- * @param {number[] } [params.amounts] - The amounts (in microcredits) to search for (eg. [100, 200, 3000])
215
+ * @param {string[] } [params.programs=[] ] - The program(s) to search for unspent records in
216
+ * @param {number[] } [params.amounts=[] ] - The amounts (in microcredits) to search for (eg. [100, 200, 3000])
217
217
* @param {number } [params.maxMicrocredits] - The maximum number of microcredits to search for
218
- * @param {string[] } [params.nonces] - The nonces of already found records to exclude from the search
218
+ * @param {string[] } [params.nonces=[] ] - The nonces of already found records to exclude from the search
219
219
* @param {string | PrivateKey } [params.privateKey] - An optional private key to use to find unspent records.
220
220
* @returns {Promise<Array<RecordPlaintext>> } An array of records belonging to the account configured in the network client.
221
221
*
@@ -546,10 +546,10 @@ class AleoNetworkClient {
546
546
* @param {Object } params
547
547
* @param {number } params.startHeight - The height at which to start searching for unspent records
548
548
* @param {number } [params.endHeight] - The height at which to stop searching for unspent records
549
- * @param {string[] } [params.programs] - The program(s) to search for unspent records in
550
- * @param {number[] } [params.amounts] - The amounts (in microcredits) to search for (eg. [100, 200, 3000])
549
+ * @param {string[] } [params.programs=[] ] - The program(s) to search for unspent records in
550
+ * @param {number[] } [params.amounts=[] ] - The amounts (in microcredits) to search for (eg. [100, 200, 3000])
551
551
* @param {number } [params.maxMicrocredits] - The maximum number of microcredits to search for
552
- * @param {string[] } [params.nonces] - The nonces of already found records to exclude from the search
552
+ * @param {string[] } [params.nonces=[] ] - The nonces of already found records to exclude from the search
553
553
* @param {string | PrivateKey } [params.privateKey] - An optional private key to use to find unspent records.
554
554
* @returns {Promise<Array<RecordPlaintext>> } An array of unspent records belonging to the account configured in the network client.
555
555
*
0 commit comments