TransactionFilter
Defined in: src/types/subscription.ts:291
Specify a filter to apply to find transactions of interest.
Properties
Section titled “Properties”appCallArgumentsMatch()?
Section titled “appCallArgumentsMatch()?”
optionalappCallArgumentsMatch: (appCallArguments?) =>boolean
Defined in: src/types/subscription.ts:320
Filter to app transactions that meet the given app arguments predicate.
Parameters
Section titled “Parameters”appCallArguments?
Section titled “appCallArguments?”readonly Uint8Array<ArrayBufferLike>[]
Returns
Section titled “Returns”boolean
appCreate?
Section titled “appCreate?”
optionalappCreate:boolean
Defined in: src/types/subscription.ts:303
Filter to transactions that are creating an app.
appId?
Section titled “appId?”
optionalappId:bigint|bigint[]
Defined in: src/types/subscription.ts:301
Filter to transactions against the app with the given ID(s).
appOnComplete?
Section titled “appOnComplete?”
optionalappOnComplete:ApplicationOnComplete|ApplicationOnComplete[]
Defined in: src/types/subscription.ts:305
Filter to transactions that have given on complete(s).
arc28Events?
Section titled “arc28Events?”
optionalarc28Events: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
Section titled “eventName”eventName:
string
groupName
Section titled “groupName”groupName:
string
assetCreate?
Section titled “assetCreate?”
optionalassetCreate:boolean
Defined in: src/types/subscription.ts:309
Filter to transactions that are creating an asset.
assetId?
Section titled “assetId?”
optionalassetId:bigint|bigint[]
Defined in: src/types/subscription.ts:307
Filter to transactions against the asset with the given ID(s).
balanceChanges?
Section titled “balanceChanges?”
optionalbalanceChanges: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.
address?
Section titled “address?”
optionaladdress:string|string[]
Match transactions with balance changes affecting one of the given account(s)
assetId?
Section titled “assetId?”
optionalassetId:bigint|bigint[]
Match transactions with balance changes for one of the given asset ID(s), with Algo being 0
maxAbsoluteAmount?
Section titled “maxAbsoluteAmount?”
optionalmaxAbsoluteAmount: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)
maxAmount?
Section titled “maxAmount?”
optionalmaxAmount:number|bigint
Match transactions with balance changes being less than or equal to the given maximum (microAlgos or decimal units of an ASA)
minAbsoluteAmount?
Section titled “minAbsoluteAmount?”
optionalminAbsoluteAmount: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)
minAmount?
Section titled “minAmount?”
optionalminAmount:number|bigint
Match transactions with balance changes being greater than or equal to the given minimum (microAlgos or decimal units of an ASA)
optionalrole:BalanceChangeRole|BalanceChangeRole[]
Match transactions with balance changes for an account with one of the given role(s)
customFilter()?
Section titled “customFilter()?”
optionalcustomFilter: (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.
Parameters
Section titled “Parameters”transaction
Section titled “transaction”Returns
Section titled “Returns”boolean
maxAmount?
Section titled “maxAmount?”
optionalmaxAmount: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).
methodSignature?
Section titled “methodSignature?”
optionalmethodSignature: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.
minAmount?
Section titled “minAmount?”
optionalminAmount: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).
notePrefix?
Section titled “notePrefix?”
optionalnotePrefix:string
Defined in: src/types/subscription.ts:299
Filter to transactions with a note having the given prefix.
receiver?
Section titled “receiver?”
optionalreceiver:string|string[]
Defined in: src/types/subscription.ts:297
Filter to transactions being received by the specified address(es).
sender?
Section titled “sender?”
optionalsender:string|string[]
Defined in: src/types/subscription.ts:295
Filter to transactions sent from the specified address(es).
optionaltype:TransactionType|TransactionType[]
Defined in: src/types/subscription.ts:293
Filter based on the given transaction type(s).