Skip to content
Algorand Developer Portal

TransactionFilter

Defined in: src/types/subscription.ts:291

Specify a filter to apply to find transactions of interest.

optional appCallArgumentsMatch: (appCallArguments?) => boolean

Defined in: src/types/subscription.ts:320

Filter to app transactions that meet the given app arguments predicate.

readonly Uint8Array<ArrayBufferLike>[]

boolean


optional appCreate: boolean

Defined in: src/types/subscription.ts:303

Filter to transactions that are creating an app.


optional appId: bigint | bigint[]

Defined in: src/types/subscription.ts:301

Filter to transactions against the app with the given ID(s).


optional appOnComplete: ApplicationOnComplete | ApplicationOnComplete[]

Defined in: src/types/subscription.ts:305

Filter to transactions that have given on complete(s).


optional arc28Events: object[]

Defined in: src/types/subscription.ts:324

Filter to app transactions that emit the given ARC-28 events. Note: the definitions for these events must be passed in to the subscription config via arc28Events.

eventName: string

groupName: string


optional assetCreate: boolean

Defined in: src/types/subscription.ts:309

Filter to transactions that are creating an asset.


optional assetId: bigint | bigint[]

Defined in: src/types/subscription.ts:307

Filter to transactions against the asset with the given ID(s).


optional balanceChanges: object[]

Defined in: src/types/subscription.ts:326

Filter to transactions that result in balance changes that match one or more of the given set of balance changes.

optional address: string | string[]

Match transactions with balance changes affecting one of the given account(s)

optional assetId: bigint | bigint[]

Match transactions with balance changes for one of the given asset ID(s), with Algo being 0

optional maxAbsoluteAmount: number | bigint

Match transactions with absolute (i.e. using Math.abs()) balance changes being less than or equal to the given maximum (microAlgos or decimal units of an ASA)

optional maxAmount: number | bigint

Match transactions with balance changes being less than or equal to the given maximum (microAlgos or decimal units of an ASA)

optional minAbsoluteAmount: number | bigint

Match transactions with absolute (i.e. using Math.abs()) balance changes being greater than or equal to the given minimum (microAlgos or decimal units of an ASA)

optional minAmount: number | bigint

Match transactions with balance changes being greater than or equal to the given minimum (microAlgos or decimal units of an ASA)

optional role: BalanceChangeRole | BalanceChangeRole[]

Match transactions with balance changes for an account with one of the given role(s)


optional customFilter: (transaction) => boolean

Defined in: src/types/subscription.ts:343

Catch-all custom filter to filter for things that the rest of the filters don’t provide.

SubscribedTransaction

boolean


optional maxAmount: number | bigint

Defined in: src/types/subscription.ts:315

Filter to transactions where the amount being transferred is less than or equal to the given maximum (microAlgos or decimal units of an ASA if type: axfer).


optional methodSignature: string | string[]

Defined in: src/types/subscription.ts:318

Filter to app transactions that have the given ARC-0004 method selector(s) for the given method signature as the first app argument.


optional minAmount: number | bigint

Defined in: src/types/subscription.ts:312

Filter to transactions where the amount being transferred is greater than or equal to the given minimum (microAlgos or decimal units of an ASA if type: axfer).


optional notePrefix: string

Defined in: src/types/subscription.ts:299

Filter to transactions with a note having the given prefix.


optional receiver: string | string[]

Defined in: src/types/subscription.ts:297

Filter to transactions being received by the specified address(es).


optional sender: string | string[]

Defined in: src/types/subscription.ts:295

Filter to transactions sent from the specified address(es).


optional type: TransactionType | TransactionType[]

Defined in: src/types/subscription.ts:293

Filter based on the given transaction type(s).