diff --git a/client/v2/indexer/lookupAccountByID.go b/client/v2/indexer/lookupAccountByID.go index b29ca23f..d4272bdc 100644 --- a/client/v2/indexer/lookupAccountByID.go +++ b/client/v2/indexer/lookupAccountByID.go @@ -21,7 +21,8 @@ type LookupAccountByIDParams struct { // localstates. IncludeAll bool `url:"include-all,omitempty"` - // Round include results for the specified round. + // Round deprecated and disallowed. This parameter used to include results for a + // specified round. Requests with this parameter set are now rejected. Round uint64 `url:"round,omitempty"` } @@ -52,7 +53,8 @@ func (s *LookupAccountByID) IncludeAll(IncludeAll bool) *LookupAccountByID { return s } -// Round include results for the specified round. +// Round deprecated and disallowed. This parameter used to include results for a +// specified round. Requests with this parameter set are now rejected. func (s *LookupAccountByID) Round(Round uint64) *LookupAccountByID { s.p.Round = Round diff --git a/client/v2/indexer/searchForAccounts.go b/client/v2/indexer/searchForAccounts.go index 5d1edf5b..3652b49a 100644 --- a/client/v2/indexer/searchForAccounts.go +++ b/client/v2/indexer/searchForAccounts.go @@ -47,12 +47,8 @@ type SearchAccountsParams struct { // results. NextToken string `url:"next,omitempty"` - // Round include results for the specified round. For performance reasons, this - // parameter may be disabled on some configurations. Using application-id or - // asset-id filters will return both creator and opt-in accounts. Filtering by - // include-all will return creator and opt-in accounts for deleted assets and - // accounts. Non-opt-in managers are not included in the results when asset-id is - // used. + // Round deprecated and disallowed. This parameter used to include results for a + // specified round. Requests with this parameter set are now rejected. Round uint64 `url:"round,omitempty"` } @@ -136,12 +132,8 @@ func (s *SearchAccounts) NextToken(NextToken string) *SearchAccounts { return s } -// Round include results for the specified round. For performance reasons, this -// parameter may be disabled on some configurations. Using application-id or -// asset-id filters will return both creator and opt-in accounts. Filtering by -// include-all will return creator and opt-in accounts for deleted assets and -// accounts. Non-opt-in managers are not included in the results when asset-id is -// used. +// Round deprecated and disallowed. This parameter used to include results for a +// specified round. Requests with this parameter set are now rejected. func (s *SearchAccounts) Round(Round uint64) *SearchAccounts { s.p.Round = Round