MessageV0.compile constructor
MessageV0.compile({
- required List<
TransactionInstruction> transactionInstructions, - required SolAddress payer,
- required SolAddress recentBlockhash,
- List<
AddressLookupTableAccount> lookupTableAccounts = const [],
Compiles a version 0 message from provided parameters.
Implementation
factory MessageV0.compile({
required List<TransactionInstruction> transactionInstructions,
required SolAddress payer,
required SolAddress recentBlockhash,
List<AddressLookupTableAccount> lookupTableAccounts = const [],
}) {
return SolanaTransactionUtils.compileV0(
transactionInstructions: transactionInstructions,
payer: payer,
recentBlockhash: recentBlockhash,
lookupTableAccounts: lookupTableAccounts,
);
}