More Specificity for API Transactions Parameters

For the API path GET /v1/account/{address}/transactions may I suggest that you update the documentation to specify that for the parameters fromDate and toDate a user must use both. There is a hard-coded conditional falling through to using max if only one of them is used. Refer to the API Handlers source code. It appears that firstRound and lastRound behave similarly and these parameters are mutually exclusive from the date ones. That would be useful information as well.

By the way, this occurs when querying the node directly without any SDK.

Thanks for the suggestion. Do you mind opening an issue on github

Documented the issue in go-algorand.

2 Likes