pub fn set_and_verify_collection(
    program_id: Pubkey,
    metadata: Pubkey,
    collection_authority: Pubkey,
    payer: Pubkey,
    update_authority: Pubkey,
    collection_mint: Pubkey,
    collection: Pubkey,
    collection_master_edition_account: Pubkey,
    collection_authority_record: Option<Pubkey>
) -> Instruction
Expand description

Allows the same Update Authority (Or Delegated Authority) on an NFT and Collection to perform update_metadata_accounts_v2 with collection and verify_collection on the NFT/Collection in one instruction

Accounts:

  1. [writable] Metadata account
  2. [signer] Collection Update authority
  3. [signer] payer
  4. `[] Update Authority of Collection NFT and NFT
  5. [] Mint of the Collection
  6. [] Metadata Account of the Collection
  7. [] MasterEdition2 Account of the Collection Token