findAddressLookupTableProgram static method

ProgramDerivedAddress findAddressLookupTableProgram({
  1. required SolAddress authority,
  2. required BigInt recentSlot,
})

Implementation

static ProgramDerivedAddress findAddressLookupTableProgram(
    {required SolAddress authority, required BigInt recentSlot}) {
  return ProgramDerivedAddress.find(seedBytes: [
    authority.toBytes(),
    LayoutUtils.u64().serialize(recentSlot)
  ], programId: AddressLookupTableProgramConst.programId);
}