Class AccountAssetsInformation
- java.lang.Object
-
- com.algorand.algosdk.v2.client.common.Query
-
- com.algorand.algosdk.v2.client.algod.AccountAssetsInformation
-
public class AccountAssetsInformation extends Query
Lookup an account's asset holdings. /v2/accounts/{address}/assets
-
-
Constructor Summary
Constructors Constructor Description AccountAssetsInformation(Client client, Address address)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<AccountAssetsInformationResponse>execute()Execute the query.Response<AccountAssetsInformationResponse>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 QueryDatagetRequestString()AccountAssetsInformationlimit(Long limit)Maximum number of results to return.AccountAssetsInformationnext(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
-
limit
public AccountAssetsInformation limit(Long limit)
Maximum number of results to return.
-
next
public AccountAssetsInformation next(String next)
The next page of results. Use the next token provided by the previous results.
-
execute
public Response<AccountAssetsInformationResponse> execute() throws Exception
Execute the query.
-
execute
public Response<AccountAssetsInformationResponse> 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:
getRequestStringin classQuery
-
-