Coda by Ian Macalinao
    Preparing search index...

    Type Alias MintV2Input<TAccountTreeAuthority, TAccountPayer, TAccountTreeDelegate, TAccountCollectionAuthority, TAccountLeafOwner, TAccountLeafDelegate, TAccountMerkleTree, TAccountCoreCollection, TAccountMplCoreCpiSigner, TAccountLogWrapper, TAccountCompressionProgram, TAccountMplCoreProgram, TAccountSystemProgram>

    type MintV2Input<
        TAccountTreeAuthority extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountPayer extends InstructionSignerInput = InstructionSignerInput,
        TAccountTreeDelegate extends
            InstructionSignerInput = InstructionSignerInput,
        TAccountCollectionAuthority extends
            InstructionSignerInput = InstructionSignerInput,
        TAccountLeafOwner extends InstructionAccountInput = InstructionAccountInput,
        TAccountLeafDelegate extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountMerkleTree extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountCoreCollection extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountMplCoreCpiSigner extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountLogWrapper extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountCompressionProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountMplCoreProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountSystemProgram extends
            InstructionAccountInput = InstructionAccountInput,
    > = {
        assetData: MintV2InstructionDataArgs["assetData"];
        assetDataSchema: MintV2InstructionDataArgs["assetDataSchema"];
        collectionAuthority?: TAccountCollectionAuthority;
        compressionProgram?: TAccountCompressionProgram;
        coreCollection?: TAccountCoreCollection;
        leafDelegate?: TAccountLeafDelegate;
        leafOwner: TAccountLeafOwner;
        logWrapper?: TAccountLogWrapper;
        merkleTree: TAccountMerkleTree;
        metadataArgs: MintV2InstructionDataArgs["metadataArgs"];
        mplCoreCpiSigner?: TAccountMplCoreCpiSigner;
        mplCoreProgram?: TAccountMplCoreProgram;
        payer: TAccountPayer;
        systemProgram?: TAccountSystemProgram;
        treeAuthority: TAccountTreeAuthority;
        treeDelegate?: TAccountTreeDelegate;
    }

    Type Parameters

    • TAccountTreeAuthority extends InstructionAccountInput = InstructionAccountInput
    • TAccountPayer extends InstructionSignerInput = InstructionSignerInput
    • TAccountTreeDelegate extends InstructionSignerInput = InstructionSignerInput
    • TAccountCollectionAuthority extends InstructionSignerInput = InstructionSignerInput
    • TAccountLeafOwner extends InstructionAccountInput = InstructionAccountInput
    • TAccountLeafDelegate extends InstructionAccountInput = InstructionAccountInput
    • TAccountMerkleTree extends InstructionAccountInput = InstructionAccountInput
    • TAccountCoreCollection extends InstructionAccountInput = InstructionAccountInput
    • TAccountMplCoreCpiSigner extends InstructionAccountInput = InstructionAccountInput
    • TAccountLogWrapper extends InstructionAccountInput = InstructionAccountInput
    • TAccountCompressionProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountMplCoreProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput
    Index
    collectionAuthority?: TAccountCollectionAuthority

    Optional collection authority, defaults to treeDelegate.

    compressionProgram?: TAccountCompressionProgram

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

    coreCollection?: TAccountCoreCollection

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

    leafDelegate?: TAccountLeafDelegate

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

    Owner of the compressed NFT leaf being operated on.

    logWrapper?: TAccountLogWrapper

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

    merkleTree: TAccountMerkleTree

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

    mplCoreCpiSigner?: TAccountMplCoreCpiSigner

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

    mplCoreProgram?: TAccountMplCoreProgram

    The MPL Core program, invoked for V2 collection CPIs.

    Account that pays for the transaction and any account rent.

    systemProgram?: TAccountSystemProgram

    The Solana System program.

    treeAuthority: TAccountTreeAuthority

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

    treeDelegate?: TAccountTreeDelegate

    Optional tree delegate, defaults to payer.