CreateTransactionInput
Type Parameters
Type Parameter | Default type |
---|---|
TVersion extends TransactionVersion | - |
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
legacy
is commonly used0
is needed for use with Address Lookup Tables