AddressLookupTableProgram.fromBytes constructor

AddressLookupTableProgram.fromBytes({
  1. required SolAddress programId,
  2. required List<AccountMeta> keys,
  3. required List<int> instructionBytes,
})

Implementation

factory AddressLookupTableProgram.fromBytes({
  required SolAddress programId,
  required List<AccountMeta> keys,
  required List<int> instructionBytes,
}) {
  return AddressLookupTableProgram(
      layout: AddressLookupTableProgramLayout.fromBytes(instructionBytes),
      keys: keys,
      programId: programId);
}