Transaction.v0 constructor
Transaction.v0({
- List<
Uint8List> ? signatures, - required Pubkey payer,
- required List<
TransactionInstruction> instructions, - required Blockhash recentBlockhash,
- List<
AddressLookupTableAccount> ? addressLookupTableAccounts,
Creates a v0
transaction.
Implementation
factory Transaction.v0({
final List<Uint8List>? signatures,
required final Pubkey payer,
required final List<TransactionInstruction> instructions,
required final Blockhash recentBlockhash,
final List<AddressLookupTableAccount>? addressLookupTableAccounts,
}) =>
Transaction(
signatures: signatures,
message: Message.v0(
payer: payer,
instructions: instructions,
recentBlockhash: recentBlockhash,
addressLookupTableAccounts: addressLookupTableAccounts,
),
);