Coda by Ian Macalinao
    Preparing search index...

    Type Alias UnverifyCollectionInput<TAccountTreeAuthority, TAccountLeafOwner, TAccountLeafDelegate, TAccountMerkleTree, TAccountPayer, TAccountTreeDelegate, TAccountCollectionAuthority, TAccountCollectionAuthorityRecordPda, TAccountCollectionMint, TAccountCollectionMetadata, TAccountEditionAccount, TAccountBubblegumSigner, TAccountLogWrapper, TAccountCompressionProgram, TAccountTokenMetadataProgram, TAccountSystemProgram>

    type UnverifyCollectionInput<
        TAccountTreeAuthority extends string = string,
        TAccountLeafOwner extends string = string,
        TAccountLeafDelegate extends string = string,
        TAccountMerkleTree extends string = string,
        TAccountPayer extends string = string,
        TAccountTreeDelegate extends string = string,
        TAccountCollectionAuthority extends string = string,
        TAccountCollectionAuthorityRecordPda extends string = string,
        TAccountCollectionMint extends string = string,
        TAccountCollectionMetadata extends string = string,
        TAccountEditionAccount extends string = string,
        TAccountBubblegumSigner extends string = string,
        TAccountLogWrapper extends string = string,
        TAccountCompressionProgram extends string = string,
        TAccountTokenMetadataProgram extends string = string,
        TAccountSystemProgram extends string = string,
    > = {
        bubblegumSigner: Address<TAccountBubblegumSigner>;
        collectionAuthority: TransactionSigner<TAccountCollectionAuthority>;
        collectionAuthorityRecordPda?: Address<
            TAccountCollectionAuthorityRecordPda,
        >;
        collectionMetadata: Address<TAccountCollectionMetadata>;
        collectionMint: Address<TAccountCollectionMint>;
        compressionProgram?: Address<TAccountCompressionProgram>;
        creatorHash: UnverifyCollectionInstructionDataArgs["creatorHash"];
        dataHash: UnverifyCollectionInstructionDataArgs["dataHash"];
        editionAccount: Address<TAccountEditionAccount>;
        index: UnverifyCollectionInstructionDataArgs["index"];
        leafDelegate: Address<TAccountLeafDelegate>;
        leafOwner: Address<TAccountLeafOwner>;
        logWrapper?: Address<TAccountLogWrapper>;
        merkleTree: Address<TAccountMerkleTree>;
        message: UnverifyCollectionInstructionDataArgs["message"];
        nonce: UnverifyCollectionInstructionDataArgs["nonce"];
        payer: TransactionSigner<TAccountPayer>;
        root: UnverifyCollectionInstructionDataArgs["root"];
        systemProgram?: Address<TAccountSystemProgram>;
        tokenMetadataProgram?: Address<TAccountTokenMetadataProgram>;
        treeAuthority: Address<TAccountTreeAuthority>;
        treeDelegate: Address<TAccountTreeDelegate>;
    }

    Type Parameters

    • TAccountTreeAuthority extends string = string
    • TAccountLeafOwner extends string = string
    • TAccountLeafDelegate extends string = string
    • TAccountMerkleTree extends string = string
    • TAccountPayer extends string = string
    • TAccountTreeDelegate extends string = string
    • TAccountCollectionAuthority extends string = string
    • TAccountCollectionAuthorityRecordPda extends string = string
    • TAccountCollectionMint extends string = string
    • TAccountCollectionMetadata extends string = string
    • TAccountEditionAccount extends string = string
    • TAccountBubblegumSigner extends string = string
    • TAccountLogWrapper extends string = string
    • TAccountCompressionProgram extends string = string
    • TAccountTokenMetadataProgram extends string = string
    • TAccountSystemProgram extends string = string
    Index

    Properties

    bubblegumSigner: Address<TAccountBubblegumSigner>

    PDA Bubblegum uses to sign the CPI into the Token Metadata program that (un)verifies the collection.

    collectionAuthority: TransactionSigner<TAccountCollectionAuthority>

    Authority of the collection the asset is being added to or removed from (typically the collection's update authority or a delegate).

    collectionAuthorityRecordPda?: Address<TAccountCollectionAuthorityRecordPda>

    If there is no collection authority record PDA, pass the Bubblegum program address instead.

    collectionMetadata: Address<TAccountCollectionMetadata>

    Metadata account of the Token Metadata collection NFT.

    collectionMint: Address<TAccountCollectionMint>

    Mint account of the Token Metadata collection NFT.

    compressionProgram?: Address<TAccountCompressionProgram>

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

    editionAccount: Address<TAccountEditionAccount>

    Master edition account of the Token Metadata collection NFT.

    leafDelegate: Address<TAccountLeafDelegate>

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

    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.

    payer: TransactionSigner<TAccountPayer>

    Account that pays for the transaction and any account rent.

    systemProgram?: Address<TAccountSystemProgram>

    The Solana System program.

    tokenMetadataProgram?: Address<TAccountTokenMetadataProgram>

    The Token Metadata program, invoked to read or (un)verify the legacy collection accounts.

    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.

    treeDelegate: Address<TAccountTreeDelegate>

    Checked as a signer here because this instruction path shares logic with setAndVerifyCollection, which actually changes the leaf's metadata.