Class LookupAccountCreatedAssets
- java.lang.Object
-
- com.algorand.algosdk.v2.client.common.Query
-
- com.algorand.algosdk.v2.client.indexer.LookupAccountCreatedAssets
-
public class LookupAccountCreatedAssets extends Query
Lookup an account's created asset parameters, optionally for a specific ID. /v2/accounts/{account-id}/created-assets
-
-
Constructor Summary
Constructors Constructor Description LookupAccountCreatedAssets(Client client, Address accountId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LookupAccountCreatedAssets
assetId(Long assetId)
Asset IDResponse<AssetsResponse>
execute()
Execute the query.Response<AssetsResponse>
execute(String[] headers, String[] values)
Execute the query with custom headers, there must be an equal number of keys and values or else an error will be generated.protected QueryData
getRequestString()
LookupAccountCreatedAssets
includeAll(Boolean includeAll)
Include all items including closed accounts, deleted applications, destroyed assets, opted-out asset holdings, and closed-out application localstates.LookupAccountCreatedAssets
limit(Long limit)
Maximum number of results to return.LookupAccountCreatedAssets
next(String next)
The next page of results.-
Methods inherited from class com.algorand.algosdk.v2.client.common.Query
addPathSegment, addQuery, addToBody, addToBody, baseExecute, baseExecute, getRequestMethod, getRequestUrl, getRequestUrl, resetPathSegment
-
-
-
-
Method Detail
-
assetId
public LookupAccountCreatedAssets assetId(Long assetId)
Asset ID
-
includeAll
public LookupAccountCreatedAssets includeAll(Boolean includeAll)
Include all items including closed accounts, deleted applications, destroyed assets, opted-out asset holdings, and closed-out application localstates.
-
limit
public LookupAccountCreatedAssets limit(Long limit)
Maximum number of results to return. There could be additional pages even if the limit is not reached.
-
next
public LookupAccountCreatedAssets next(String next)
The next page of results. Use the next token provided by the previous results.
-
execute
public Response<AssetsResponse> execute() throws Exception
Execute the query.
-
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.
-
getRequestString
protected QueryData getRequestString()
- Specified by:
getRequestString
in classQuery
-
-