Class LookupAssetTransactions


  • public class LookupAssetTransactions
    extends Query
    Lookup transactions for an asset. Transactions are returned oldest to newest. /v2/assets/{asset-id}/transactions
    • Constructor Detail

      • LookupAssetTransactions

        public LookupAssetTransactions​(Client client,
                                       Long assetId)
        Parameters:
        assetId -
    • Method Detail

      • afterTime

        public LookupAssetTransactions afterTime​(Date afterTime)
        Include results after the given time. Must be an RFC 3339 formatted string.
      • beforeTime

        public LookupAssetTransactions beforeTime​(Date beforeTime)
        Include results before the given time. Must be an RFC 3339 formatted string.
      • currencyGreaterThan

        public LookupAssetTransactions 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 LookupAssetTransactions 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.
      • excludeCloseTo

        public LookupAssetTransactions excludeCloseTo​(Boolean excludeCloseTo)
        Combine with address and address-role parameters to define what type of address to search for. The close to fields are normally treated as a receiver, if you would like to exclude them set this parameter to true.
      • limit

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

        public LookupAssetTransactions notePrefix​(byte[] notePrefix)
        Specifies a prefix which must be contained in the note field.
      • sigType

        public LookupAssetTransactions sigType​(Enums.SigType sigType)
        SigType filters just results using the specified type of signature: sig - Standard msig - MultiSig lsig - LogicSig
      • 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.
        Specified by:
        execute in class Query
        Parameters:
        headers - an array of header keys
        values - an array of header values
        Returns:
        the query response object.
        Throws:
        Exception