Message.compile constructor
Message.compile({
- required List<
TransactionInstruction> transactionInstructions, - required SolAddress payer,
- required SolAddress recentBlockhash,
Compiles a legacy message from provided parameters.
Implementation
factory Message.compile({
required List<TransactionInstruction> transactionInstructions,
required SolAddress payer,
required SolAddress recentBlockhash,
}) {
return SolanaTransactionUtils.compileLegacy(
transactionInstructions: transactionInstructions,
payer: payer,
recentBlockhash: recentBlockhash,
);
}