AssociatedTokenAccountProgram.fromBytes constructor
AssociatedTokenAccountProgram.fromBytes({
- required List<
AccountMeta> keys, - required List<
int> instructionBytes, - SolAddress programId = AssociatedTokenAccountProgramConst.associatedTokenProgramId,
Implementation
factory AssociatedTokenAccountProgram.fromBytes({
required List<AccountMeta> keys,
required List<int> instructionBytes,
SolAddress programId =
AssociatedTokenAccountProgramConst.associatedTokenProgramId,
}) {
return AssociatedTokenAccountProgram(
layout: AssociatedTokenAccountProgramLayout.fromBytes(instructionBytes),
keys: keys,
programId: programId);
}