Skip to Content
API referencePulsar CoreSrcType AliasesInitialTransactionParams

@tuwaio/pulsar-core-monorepo


InitialTransactionParams

InitialTransactionParams = object

Defined in: packages/pulsar-core/src/types.ts:177 

Represents the parameters required to initiate a new transaction tracking flow.

Properties

actionFunction()

actionFunction: (…args) => Promise<ActionTxKey | undefined>

Defined in: packages/pulsar-core/src/types.ts:181 

The function that executes the on-chain action (e.g., sending a transaction) and returns a preliminary identifier like a hash.

Parameters

args

any[]

Returns

Promise<ActionTxKey | undefined>


adapter

adapter: OrbitAdapter

Defined in: packages/pulsar-core/src/types.ts:179 

The specific blockchain adapter for this transaction.


description?

optional description: string | [string, string, string, string]

Defined in: packages/pulsar-core/src/types.ts:183 

A user-facing description for the transaction. Supports state-specific descriptions.


desiredChainID

desiredChainID: number | string

Defined in: packages/pulsar-core/src/types.ts:185 

The target chain ID for the transaction.


payload?

optional payload: object

Defined in: packages/pulsar-core/src/types.ts:187 

Any custom data to associate with the transaction.


rpcUrl?

optional rpcUrl: string

Defined in: packages/pulsar-core/src/types.ts:195 

The RPC URL to use for the transaction. Required for Solana transactions.


title?

optional title: string | [string, string, string, string]

Defined in: packages/pulsar-core/src/types.ts:189 

A user-facing title for the transaction. Supports state-specific titles.


tracker?

optional tracker: TransactionTracker

Defined in: packages/pulsar-core/src/types.ts:197 

The transaction tracker. Required for Gelato transactions.


type

type: string

Defined in: packages/pulsar-core/src/types.ts:191 

The application-specific type of the transaction.


withTrackedModal?

optional withTrackedModal: boolean

Defined in: packages/pulsar-core/src/types.ts:193 

If true, the detailed tracking modal will open automatically upon initiation.

Last updated on