CreateTransactionInput
Type Parameters
| Type Parameter | Default type |
|---|---|
TVersion extends TransactionVersion | "auto" | - |
TFeePayer extends Address | TransactionSigner | TransactionSigner |
TLifetimeConstraint extends | TransactionMessageWithBlockhashLifetime["lifetimeConstraint"] | undefined | undefined |
Properties
computeUnitLimit?
Compute unit limit value to set on this transaction
computeUnitPrice?
Compute unit price (in micro-lamports) to set on this transaction
feePayer
Address or Signer that will pay transaction fees
instructions
List of instructions for this transaction
latestBlockhash?
Latest blockhash (aka transaction lifetime) for this transaction to accepted for execution on the Solana network
version?
Transaction version
autoautomatically selects based on instruction content (default)legacyfor traditional transactions0for transactions using Address Lookup Tables
Default
auto