gill

getPostInitializeInstructionsForTokenExtensions

function getPostInitializeInstructionsForTokenExtensions(
   token, 
   owner, 
   extensions, 
   multiSigners?): IInstruction[];

Given a token address, its owner and a list of token extensions, returns a list of instructions that MUST be run after the initializeAccount instruction to properly initialize the given extensions on the token account.

Parameters

ParameterType
tokenAddress
ownerAddress | TransactionSigner
extensionsExtensionArgs[]
multiSigners?TransactionSigner[]

Returns

IInstruction[]

On this page