gill

getPreInitializeInstructionsForMintExtensions

function getPreInitializeInstructionsForMintExtensions(mint, extensions): IInstruction[];

Given a mint address and a list of mint extensions, returns a list of instructions that MUST be run before the initializeMint instruction to properly initialize the given extensions on the mint account.

Parameters

ParameterType
mintAddress
extensionsExtensionArgs[]

Returns

IInstruction[]

On this page