Coda by Ian Macalinao
    Preparing search index...

    Type Alias ParsedMintV2Instruction<TProgram, TAccountMetas>

    type ParsedMintV2Instruction<
        TProgram extends string = typeof BUBBLEGUM_PROGRAM_ADDRESS,
        TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[],
    > = {
        accounts: {
            collectionAuthority?: TAccountMetas[3];
            compressionProgram: TAccountMetas[10];
            coreCollection?: TAccountMetas[7];
            leafDelegate?: TAccountMetas[5];
            leafOwner: TAccountMetas[4];
            logWrapper: TAccountMetas[9];
            merkleTree: TAccountMetas[6];
            mplCoreCpiSigner?: TAccountMetas[8];
            mplCoreProgram: TAccountMetas[11];
            payer: TAccountMetas[1];
            systemProgram: TAccountMetas[12];
            treeAuthority: TAccountMetas[0];
            treeDelegate?: TAccountMetas[2];
        };
        data: MintV2InstructionData;
        programAddress: Address<TProgram>;
    }

    Type Parameters

    • TProgram extends string = typeof BUBBLEGUM_PROGRAM_ADDRESS
    • TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]
    Index

    Properties

    accounts: {
        collectionAuthority?: TAccountMetas[3];
        compressionProgram: TAccountMetas[10];
        coreCollection?: TAccountMetas[7];
        leafDelegate?: TAccountMetas[5];
        leafOwner: TAccountMetas[4];
        logWrapper: TAccountMetas[9];
        merkleTree: TAccountMetas[6];
        mplCoreCpiSigner?: TAccountMetas[8];
        mplCoreProgram: TAccountMetas[11];
        payer: TAccountMetas[1];
        systemProgram: TAccountMetas[12];
        treeAuthority: TAccountMetas[0];
        treeDelegate?: TAccountMetas[2];
    }

    Type Declaration

    • OptionalcollectionAuthority?: TAccountMetas[3]

      Optional collection authority, defaults to treeDelegate.

    • compressionProgram: TAccountMetas[10]

      The SPL/MPL Account Compression program that owns and manages the Merkle tree.

    • OptionalcoreCollection?: TAccountMetas[7]

      MPL Core collection account the asset belongs to (V2 collections).

    • OptionalleafDelegate?: TAccountMetas[5]

      Delegate authority for the leaf; defaults to the leaf owner when no delegate is set.

    • leafOwner: TAccountMetas[4]

      Owner of the compressed NFT leaf being operated on.

    • logWrapper: TAccountMetas[9]

      The SPL/MPL Noop program, used to log leaf data so off-chain indexers can reconstruct the tree.

    • merkleTree: TAccountMetas[6]

      The concurrent Merkle tree account storing the compressed leaves, owned by the account compression program.

    • OptionalmplCoreCpiSigner?: TAccountMetas[8]

      PDA Bubblegum uses to sign CPIs into the MPL Core program on behalf of a core collection.

    • mplCoreProgram: TAccountMetas[11]

      The MPL Core program, invoked for V2 collection CPIs.

    • payer: TAccountMetas[1]

      Account that pays for the transaction and any account rent.

    • systemProgram: TAccountMetas[12]

      The Solana System program.

    • treeAuthority: TAccountMetas[0]

      The tree's TreeConfig PDA, which stores its configuration and acts as the tree's authority for CPIs into the compression program.

    • OptionaltreeDelegate?: TAccountMetas[2]

      Optional tree delegate, defaults to payer.

    programAddress: Address<TProgram>