Message.legacy constructor
Message.legacy({
- required Pubkey payer,
- required List<
TransactionInstruction> instructions, - required Blockhash recentBlockhash,
Creates a legacy
message.
Implementation
factory Message.legacy({
required final Pubkey payer,
required final List<TransactionInstruction> instructions,
required final Blockhash recentBlockhash,
}) =>
Message.compile(
version: null,
payer: payer,
instructions: instructions,
recentBlockhash: recentBlockhash,
);