Skip to Content

PulsarAdapter<T>

PulsarAdapter<T> = OrbitGenericAdapter<TxAdapter<T>> & object & SyncCallbacks<T>

Defined in: types.ts:351 

The configuration of createPulsarStore: one or more chain adapters and the store options.

Type Declaration

abortOnTxError?

optional abortOnTxError?: boolean

Whether an error thrown by beforeTxProcess aborts the transaction. Defaults to true. It does not apply to onRemoteCreate, whose errors never abort the transaction.

beforeTxProcess?

optional beforeTxProcess?: BeforeTxProcess

Global preflight callback run before every transaction. A beforeTxProcess passed to executeTxAction replaces it.

gelatoApiKey?

optional gelatoApiKey?: string

Deprecated

Gelato relay is deprecated. Gelato API key used to track TransactionTracker.Gelato transactions.

maxTransactions?

optional maxTransactions?: number

Maximum number of transactions in the pool. When it is full, the oldest one (by localTimestamp) is evicted. Defaults to 50.

Type Parameters

T

T extends Transaction

The application transaction type.

Last updated on