Skip to content
docs

TransactionPreview

Defined in: types.ts:184

describeTransaction’s result: the decoded transaction plus the simulation, when an RPC was given.

readonly accounts: readonly MessageAccount[]

Defined in: types.ts:126

DecodedTransaction.accounts


readonly config: TransactionConfig | null

Defined in: types.ts:129

A v1 transaction’s config (priority fee, compute unit limit…); null for legacy and v0.

DecodedTransaction.config


readonly feePayer: string | null

Defined in: types.ts:121

DecodedTransaction.feePayer


readonly instructions: readonly DecodedInstruction[]

Defined in: types.ts:130

DecodedTransaction.instructions


readonly lifetime: object

Defined in: types.ts:125

durable-nonce when the first instruction advances a nonce account: the signature then never expires.

readonly kind: "durable-nonce" | "blockhash"

readonly value: string | null

DecodedTransaction.lifetime


readonly lookupTables: readonly object[]

Defined in: types.ts:127

DecodedTransaction.lookupTables


readonly signers: readonly object[]

Defined in: types.ts:123

Required signers in message order; signed is null for a message (no signature slots yet).

DecodedTransaction.signers


readonly simulation: SimulationPreview | null

Defined in: types.ts:185


readonly version: 0 | "legacy" | 1

Defined in: types.ts:120

DecodedTransaction.version


readonly warnings: readonly PreviewWarning[]

Defined in: types.ts:131

DecodedTransaction.warnings