ProgramDerivedAddress.find constructor
ProgramDerivedAddress.find({
- required List<
List< seedBytes,int> > - required SolAddress programId,
Implementation
factory ProgramDerivedAddress.find(
{required List<List<int>> seedBytes, required SolAddress programId}) {
final derive =
SolanaUtils.findProgramAddress(seeds: seedBytes, programId: programId);
return ProgramDerivedAddress(address: derive.item1, bump: derive.item2);
}