TransactionInstruction constructor

TransactionInstruction({
  1. required List<AccountMeta> keys,
  2. required SolAddress programId,
  3. required ProgramLayout layout,
})

Implementation

TransactionInstruction(
    {required List<AccountMeta> keys,
    required this.programId,
    required this.layout})
    : keys = List<AccountMeta>.unmodifiable(keys);