Coda by Ian Macalinao
    Preparing search index...

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

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

    Type Parameters

    • TAccountTreeAuthority extends InstructionAccountInput = InstructionAccountInput
    • TAccountLeafOwner extends InstructionAccountInput = InstructionAccountInput
    • TAccountLeafDelegate extends InstructionAccountInput = InstructionAccountInput
    • TAccountMerkleTree extends InstructionAccountInput = InstructionAccountInput
    • TAccountPayer extends InstructionSignerInput = InstructionSignerInput
    • TAccountTreeDelegate extends InstructionAccountInput = InstructionAccountInput
    • TAccountCollectionAuthority extends InstructionSignerInput = InstructionSignerInput
    • TAccountCollectionAuthorityRecordPda extends InstructionAccountInput = InstructionAccountInput
    • TAccountCollectionMint extends InstructionAccountInput = InstructionAccountInput
    • TAccountCollectionMetadata extends InstructionAccountInput = InstructionAccountInput
    • TAccountEditionAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountBubblegumSigner extends InstructionAccountInput = InstructionAccountInput
    • TAccountLogWrapper extends InstructionAccountInput = InstructionAccountInput
    • TAccountCompressionProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenMetadataProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput
    Index
    bubblegumSigner?: TAccountBubblegumSigner

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

    collectionAuthority: TAccountCollectionAuthority

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

    collectionAuthorityRecordPda?: TAccountCollectionAuthorityRecordPda

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

    collectionMetadata?: TAccountCollectionMetadata

    Metadata account of the Token Metadata collection NFT.

    collectionMint: TAccountCollectionMint

    Mint account of the Token Metadata collection NFT.

    compressionProgram?: TAccountCompressionProgram

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

    editionAccount?: TAccountEditionAccount

    Master edition account of the Token Metadata collection NFT.

    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.

    Account that pays for the transaction and any account rent.

    systemProgram?: TAccountSystemProgram

    The Solana System program.

    tokenMetadataProgram?: TAccountTokenMetadataProgram

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

    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

    Checked as a signer here because setAndVerifyCollection actually changes the leaf's metadata, unlike plain collection verification.