Class LookupAccountTransactions
- java.lang.Object
-
- com.algorand.algosdk.v2.client.common.Query
-
- com.algorand.algosdk.v2.client.indexer.LookupAccountTransactions
-
public class LookupAccountTransactions extends Query
Lookup account transactions. Transactions are returned newest to oldest. /v2/accounts/{account-id}/transactions
-
-
Constructor Summary
Constructors Constructor Description LookupAccountTransactions(Client client, Address accountId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LookupAccountTransactionsafterTime(Date afterTime)Include results after the given time.LookupAccountTransactionsassetId(Long assetId)Asset IDLookupAccountTransactionsbeforeTime(Date beforeTime)Include results before the given time.LookupAccountTransactionscurrencyGreaterThan(Long currencyGreaterThan)Results should have an amount greater than this value.LookupAccountTransactionscurrencyLessThan(Long currencyLessThan)Results should have an amount less than this value.Response<TransactionsResponse>execute()Execute the query.Response<TransactionsResponse>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()LookupAccountTransactionslimit(Long limit)Maximum number of results to return.LookupAccountTransactionsmaxRound(Long maxRound)Include results at or before the specified max-round.LookupAccountTransactionsminRound(Long minRound)Include results at or after the specified min-round.LookupAccountTransactionsnext(String next)The next page of results.LookupAccountTransactionsnotePrefix(byte[] notePrefix)Specifies a prefix which must be contained in the note field.LookupAccountTransactionsrekeyTo(Boolean rekeyTo)Include results which include the rekey-to field.LookupAccountTransactionsround(Long round)Include results for the specified round.LookupAccountTransactionssigType(Enums.SigType sigType)SigType filters just results using the specified type of signature: sig - Standard msig - MultiSig lsig - LogicSigLookupAccountTransactionstxid(String txid)Lookup the specific transaction by ID.LookupAccountTransactionstxType(Enums.TxType txType)-
Methods inherited from class com.algorand.algosdk.v2.client.common.Query
addPathSegment, addQuery, addToBody, addToBody, baseExecute, baseExecute, getRequestMethod, getRequestUrl, getRequestUrl, resetPathSegment
-
-
-
-
Method Detail
-
afterTime
public LookupAccountTransactions afterTime(Date afterTime)
Include results after the given time. Must be an RFC 3339 formatted string.
-
assetId
public LookupAccountTransactions assetId(Long assetId)
Asset ID
-
beforeTime
public LookupAccountTransactions beforeTime(Date beforeTime)
Include results before the given time. Must be an RFC 3339 formatted string.
-
currencyGreaterThan
public LookupAccountTransactions currencyGreaterThan(Long currencyGreaterThan)
Results should have an amount greater than this value. MicroAlgos are the default currency unless an asset-id is provided, in which case the asset will be used.
-
currencyLessThan
public LookupAccountTransactions currencyLessThan(Long currencyLessThan)
Results should have an amount less than this value. MicroAlgos are the default currency unless an asset-id is provided, in which case the asset will be used.
-
limit
public LookupAccountTransactions limit(Long limit)
Maximum number of results to return. There could be additional pages even if the limit is not reached.
-
maxRound
public LookupAccountTransactions maxRound(Long maxRound)
Include results at or before the specified max-round.
-
minRound
public LookupAccountTransactions minRound(Long minRound)
Include results at or after the specified min-round.
-
next
public LookupAccountTransactions next(String next)
The next page of results. Use the next token provided by the previous results.
-
notePrefix
public LookupAccountTransactions notePrefix(byte[] notePrefix)
Specifies a prefix which must be contained in the note field.
-
rekeyTo
public LookupAccountTransactions rekeyTo(Boolean rekeyTo)
Include results which include the rekey-to field.
-
round
public LookupAccountTransactions round(Long round)
Include results for the specified round.
-
sigType
public LookupAccountTransactions sigType(Enums.SigType sigType)
SigType filters just results using the specified type of signature: sig - Standard msig - MultiSig lsig - LogicSig
-
txType
public LookupAccountTransactions txType(Enums.TxType txType)
-
txid
public LookupAccountTransactions txid(String txid)
Lookup the specific transaction by ID.
-
execute
public Response<TransactionsResponse> execute() throws Exception
Execute the query.
-
execute
public Response<TransactionsResponse> 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
-
-