TransactionQueryBuilder class
- Inheritance
-
- Object
- QueryBuilder<
TransactionQueryBuilder> - TransactionQueryBuilder
Constructors
- TransactionQueryBuilder({required IndexerRepository indexerRepository})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- indexerRepository → IndexerRepository
-
final
-
parameters
→ Map<
String, dynamic> -
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addQueryParameter(
String parameter, dynamic value) → TransactionQueryBuilder -
Add an additional query parameter.
inherited
-
after(
DateTime dateTime) → TransactionQueryBuilder - Include results after the given time. Must be an RFC 3339 formatted string.
-
afterMinRound(
int minRound) → TransactionQueryBuilder - Include results at or after the specified min-round.
-
before(
DateTime dateTime) → TransactionQueryBuilder - Include results before the given time. Must be an RFC 3339 formatted string.
-
beforeMaxRound(
int maxRound) → TransactionQueryBuilder - Include results at or before the specified max-round.
-
excludeCloseTo(
bool excludeCloseTo) → TransactionQueryBuilder - Combine with address and address-role parameters to define what type of address to search for.
-
forAccount(
String accountId) → TransactionQueryBuilder - Lookup transaction for the given account.
-
forAsset(
int assetId) → TransactionQueryBuilder - Lookup transactions for the given asset.
-
includeAll(
bool includeAll) → TransactionQueryBuilder -
Include all items including closed accounts, deleted applications,
destroyed assets, opted-out asset holdings, and closed-out
application localstates.
inherited
-
limit(
int limit) → TransactionQueryBuilder -
Maximum number of results to return.
inherited
-
me(
) → TransactionQueryBuilder -
override
-
next(
String? next) → TransactionQueryBuilder -
The next page of results.
Use the next token provided by the previous results.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rekeyTo(
bool rekeyTo) → TransactionQueryBuilder - Include results which include the rekey-to field.
-
search(
{int? limit}) → Future< SearchTransactionsResponse> - Perform the query and fetch the transactions.
-
toString(
) → String -
A string representation of this object.
inherited
-
whereAddress(
Address address) → TransactionQueryBuilder - Only include transactions with this address in one of the transaction fields.
-
whereAddressRole(
AddressRole role) → TransactionQueryBuilder - Combine with the address parameter to define what type of address to search for.
-
whereApplicationId(
int applicationId) → TransactionQueryBuilder - Include results with the given application id.
-
whereAssetId(
int assetId) → TransactionQueryBuilder -
Include results with the given asset id.
inherited
-
whereCurrencyIsGreaterThan(
int amount) → TransactionQueryBuilder -
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.
inherited
-
whereCurrencyIsLessThan(
int amount) → TransactionQueryBuilder -
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.
inherited
-
whereNotePrefix(
String notePrefix) → TransactionQueryBuilder - Specifies a prefix which must be contained in the note field.
-
whereRound(
int round) → TransactionQueryBuilder - Include results for the specified round.
-
whereSignatureType(
SignatureType signatureType) → TransactionQueryBuilder - SigType filters just results using the specified type of signature.
-
whereTransactionId(
String transactionId) → TransactionQueryBuilder - Include results only with the given transaction id.
-
whereTransactionType(
TransactionType transactionType) → TransactionQueryBuilder - Include results only with the given transaction type.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- KEY_ACCOUNT_ID → const String
- KEY_ASSET_ID → const String