Skip to Content
API referencePulsar CoreSrcType AliasesUpdatableTransactionFields

@tuwaio/pulsar-core-monorepo


UpdatableTransactionFields

UpdatableTransactionFields = Partial<Pick<EvmTransaction, "to" | "nonce" | "txKey" | "pending" | "hash" | "status" | "replacedTxHash" | "error" | "finishedTimestamp" | "isTrackedModalOpen" | "isError" | "maxPriorityFeePerGas" | "maxFeePerGas" | "input" | "value">> & Partial<Pick<SolanaTransaction, "slot" | "confirmations" | "fee" | "instructions" | "recentBlockhash" | "rpcUrl">>

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

A utility type that creates a union of all fields that can be safely updated on a transaction object via the updateTxParams action. This ensures type safety and prevents accidental modification of immutable properties.

Last updated on