Class SearchForAssets

  • public class SearchForAssets
    extends Query
    Search for assets. /v2/assets
    • Constructor Detail

      • SearchForAssets

        public SearchForAssets​(Client client)
    • Method Detail

      • creator

        public SearchForAssets creator​(String creator)
        Filter just assets with the given creator address.
      • includeAll

        public SearchForAssets includeAll​(Boolean includeAll)
        Include all items including closed accounts, deleted applications, destroyed assets, opted-out asset holdings, and closed-out application localstates.
      • limit

        public SearchForAssets limit​(Long limit)
        Maximum number of results to return. There could be additional pages even if the limit is not reached.
      • next

        public SearchForAssets next​(String next)
        The next page of results. Use the next token provided by the previous results.
      • execute

        public Response<AssetsResponse> execute​(String[] headers,
                                                String[] values)
                                         throws Exception
        Execute the query with custom headers, there must be an equal number of keys and values or else an error will be generated.
        Specified by:
        execute in class Query
        headers - an array of header keys
        values - an array of header values
        the query response object.