How to pass optional API parameters

+1 vote

I would like some guidance on the proper way to specify optional API parameters. For example the listaddresses api command, where I would like to specify a value for start but not one of count. Since the count parameter must be specified before the start parameter, it appears I must specify a value for count (it can't be null) without generating errors. Is this correct?   

 
asked Nov 9, 2017 by anonymous

1 Answer

0 votes
Yes, if you want to pass any parameter, you must also pass all the optional parameters before it. You can just pass the default values as shown in the documentation.
answered Nov 10, 2017 by MultiChain
...