Coda by Ian Macalinao
    Preparing search index...

    Type Alias SetCollectionV2AsyncInput<TAccountTreeAuthority, TAccountPayer, TAccountAuthority, TAccountNewCollectionAuthority, TAccountLeafOwner, TAccountLeafDelegate, TAccountMerkleTree, TAccountCoreCollection, TAccountNewCoreCollection, TAccountMplCoreCpiSigner, TAccountLogWrapper, TAccountCompressionProgram, TAccountMplCoreProgram, TAccountSystemProgram>

    type SetCollectionV2AsyncInput<
        TAccountTreeAuthority extends string = string,
        TAccountPayer extends string = string,
        TAccountAuthority extends string = string,
        TAccountNewCollectionAuthority extends string = string,
        TAccountLeafOwner extends string = string,
        TAccountLeafDelegate extends string = string,
        TAccountMerkleTree extends string = string,
        TAccountCoreCollection extends string = string,
        TAccountNewCoreCollection extends string = string,
        TAccountMplCoreCpiSigner extends string = string,
        TAccountLogWrapper extends string = string,
        TAccountCompressionProgram extends string = string,
        TAccountMplCoreProgram extends string = string,
        TAccountSystemProgram extends string = string,
    > = {
        assetDataHash: SetCollectionV2InstructionDataArgs["assetDataHash"];
        authority?: TransactionSigner<TAccountAuthority>;
        compressionProgram?: Address<TAccountCompressionProgram>;
        coreCollection?: Address<TAccountCoreCollection>;
        flags: SetCollectionV2InstructionDataArgs["flags"];
        index: SetCollectionV2InstructionDataArgs["index"];
        leafDelegate?: Address<TAccountLeafDelegate>;
        leafOwner: Address<TAccountLeafOwner>;
        logWrapper?: Address<TAccountLogWrapper>;
        merkleTree: Address<TAccountMerkleTree>;
        message: SetCollectionV2InstructionDataArgs["message"];
        mplCoreCpiSigner?: Address<TAccountMplCoreCpiSigner>;
        mplCoreProgram?: Address<TAccountMplCoreProgram>;
        newCollectionAuthority?: TransactionSigner<TAccountNewCollectionAuthority>;
        newCoreCollection?: Address<TAccountNewCoreCollection>;
        nonce: SetCollectionV2InstructionDataArgs["nonce"];
        payer: TransactionSigner<TAccountPayer>;
        root: SetCollectionV2InstructionDataArgs["root"];
        systemProgram?: Address<TAccountSystemProgram>;
        treeAuthority?: Address<TAccountTreeAuthority>;
    }

    Type Parameters

    • TAccountTreeAuthority extends string = string
    • TAccountPayer extends string = string
    • TAccountAuthority extends string = string
    • TAccountNewCollectionAuthority extends string = string
    • TAccountLeafOwner extends string = string
    • TAccountLeafDelegate extends string = string
    • TAccountMerkleTree extends string = string
    • TAccountCoreCollection extends string = string
    • TAccountNewCoreCollection extends string = string
    • TAccountMplCoreCpiSigner extends string = string
    • TAccountLogWrapper extends string = string
    • TAccountCompressionProgram extends string = string
    • TAccountMplCoreProgram extends string = string
    • TAccountSystemProgram extends string = string
    Index

    Properties

    authority?: TransactionSigner<TAccountAuthority>

    If the item is not currently in a collection, must be the tree owner/delegate. If the item is being removed from a collection, must be an authority for the existing collection. Defaults to payer.

    compressionProgram?: Address<TAccountCompressionProgram>

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

    coreCollection?: Address<TAccountCoreCollection>

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

    leafDelegate?: Address<TAccountLeafDelegate>

    Defaults to leafOwner.

    leafOwner: Address<TAccountLeafOwner>

    Owner of the compressed NFT leaf being operated on.

    logWrapper?: Address<TAccountLogWrapper>

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

    merkleTree: Address<TAccountMerkleTree>

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

    mplCoreCpiSigner?: Address<TAccountMplCoreCpiSigner>

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

    mplCoreProgram?: Address<TAccountMplCoreProgram>

    The MPL Core program, invoked for V2 collection CPIs.

    newCollectionAuthority?: TransactionSigner<TAccountNewCollectionAuthority>

    If the item is being added to a new collection, must be the authority for the new collection. Defaults to authority.

    newCoreCollection?: Address<TAccountNewCoreCollection>

    MPL Core collection account the asset is being moved into.

    payer: TransactionSigner<TAccountPayer>

    Account that pays for the transaction and any account rent.

    systemProgram?: Address<TAccountSystemProgram>

    The Solana System program.

    treeAuthority?: Address<TAccountTreeAuthority>

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