Skip to content
Algorand Developer Portal

SubscriberConfigFilter

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

A single event to subscribe to / emit.

T

filter: TransactionFilter

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

The filter itself.

NamedTransactionFilter.filter


optional mapper: (transaction) => Promise<T[]>

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

An optional data mapper if you want the event data to take a certain shape when subscribing to events with this filter name.

If not specified, then the event will simply receive a SubscribedTransaction.

Note: if you provide multiple filters with the same name then only the mapper of the first matching filter will be used

SubscribedTransaction[]

Promise<T[]>


name: string

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

The name to give the filter.

NamedTransactionFilter.name