BaseTransaction<T>
BaseTransaction<
T
> =object
Defined in: packages/pulsar-core/src/types.ts:49
The base structure for any transaction being tracked.
Type Parameters
T
T
The type of the tracker identifier (e.g., ‘evm’, ‘safe’).
Properties
actionKey?
optional
actionKey:string
Defined in: packages/pulsar-core/src/types.ts:51
A key identifying the retry logic for this transaction from the actions registry.
chainId
chainId:
number
|string
Defined in: packages/pulsar-core/src/types.ts:53
The chain identifier (e.g., 1 for Ethereum Mainnet, ‘SN_MAIN’ for Starknet).
description?
optional
description:string
| [string
,string
,string
,string
]
Defined in: packages/pulsar-core/src/types.ts:55
A description for the transaction, with states for [pending, success, error, replaced].
errorMessage?
optional
errorMessage:string
Defined in: packages/pulsar-core/src/types.ts:57
An error message if the transaction failed.
finishedTimestamp?
optional
finishedTimestamp:number
Defined in: packages/pulsar-core/src/types.ts:59
The timestamp (in seconds) when the transaction was finalized on-chain.
from
from:
string
Defined in: packages/pulsar-core/src/types.ts:61
The sender’s address.
isError?
optional
isError:boolean
Defined in: packages/pulsar-core/src/types.ts:63
A flag indicating if the transaction is in a failed state.
isTrackedModalOpen?
optional
isTrackedModalOpen:boolean
Defined in: packages/pulsar-core/src/types.ts:65
A flag indicating if the detailed tracking modal should be open for this transaction. For UI purposes.
localTimestamp
localTimestamp:
number
Defined in: packages/pulsar-core/src/types.ts:67
The local timestamp (in seconds) when the transaction was initiated.
payload?
optional
payload:object
Defined in: packages/pulsar-core/src/types.ts:69
Any additional data associated with the transaction.
pending
pending:
boolean
Defined in: packages/pulsar-core/src/types.ts:71
Indicates if the transaction is still pending confirmation.
status?
optional
status:TransactionStatus
Defined in: packages/pulsar-core/src/types.ts:73
The final status of the transaction.
title?
optional
title:string
| [string
,string
,string
,string
]
Defined in: packages/pulsar-core/src/types.ts:75
A title for the transaction, with states for [pending, success, error, replaced].
tracker
tracker:
T
Defined in: packages/pulsar-core/src/types.ts:77
The specific tracker responsible for monitoring this transaction (e.g., ‘evm’, ‘safe’, ‘gelato’, etc.).
txKey
txKey:
string
Defined in: packages/pulsar-core/src/types.ts:79
The unique key for the transaction within its tracker (e.g., EVM hash, Gelato task ID).
type
type:
string
Defined in: packages/pulsar-core/src/types.ts:81
The type or category of the transaction (e.g., ‘increment’, ‘approve’).
walletType
walletType:
string
Defined in: packages/pulsar-core/src/types.ts:83
The type of wallet used for the transaction.