Coda by Ian Macalinao
    Preparing search index...

    Type Alias UpdateMetadataV2Input<TAccountTreeAuthority, TAccountPayer, TAccountAuthority, TAccountLeafOwner, TAccountLeafDelegate, TAccountMerkleTree, TAccountCoreCollection, TAccountLogWrapper, TAccountCompressionProgram, TAccountSystemProgram>

    type UpdateMetadataV2Input<
        TAccountTreeAuthority extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountPayer extends InstructionSignerInput = InstructionSignerInput,
        TAccountAuthority extends InstructionSignerInput = InstructionSignerInput,
        TAccountLeafOwner extends InstructionAccountInput = InstructionAccountInput,
        TAccountLeafDelegate extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountMerkleTree extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountCoreCollection extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountLogWrapper extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountCompressionProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountSystemProgram extends
            InstructionAccountInput = InstructionAccountInput,
    > = {
        assetDataHash: UpdateMetadataV2InstructionDataArgs["assetDataHash"];
        authority?: TAccountAuthority;
        compressionProgram?: TAccountCompressionProgram;
        coreCollection?: TAccountCoreCollection;
        currentMetadata: UpdateMetadataV2InstructionDataArgs["currentMetadata"];
        flags: UpdateMetadataV2InstructionDataArgs["flags"];
        index: UpdateMetadataV2InstructionDataArgs["index"];
        leafDelegate?: TAccountLeafDelegate;
        leafOwner: TAccountLeafOwner;
        logWrapper?: TAccountLogWrapper;
        merkleTree: TAccountMerkleTree;
        nonce: UpdateMetadataV2InstructionDataArgs["nonce"];
        payer: TAccountPayer;
        root: UpdateMetadataV2InstructionDataArgs["root"];
        systemProgram?: TAccountSystemProgram;
        treeAuthority: TAccountTreeAuthority;
        updateArgs: UpdateMetadataV2InstructionDataArgs["updateArgs"];
    }

    Type Parameters

    • TAccountTreeAuthority extends InstructionAccountInput = InstructionAccountInput
    • TAccountPayer extends InstructionSignerInput = InstructionSignerInput
    • TAccountAuthority extends InstructionSignerInput = InstructionSignerInput
    • TAccountLeafOwner extends InstructionAccountInput = InstructionAccountInput
    • TAccountLeafDelegate extends InstructionAccountInput = InstructionAccountInput
    • TAccountMerkleTree extends InstructionAccountInput = InstructionAccountInput
    • TAccountCoreCollection extends InstructionAccountInput = InstructionAccountInput
    • TAccountLogWrapper extends InstructionAccountInput = InstructionAccountInput
    • TAccountCompressionProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput
    Index
    authority?: TAccountAuthority

    Either the collection authority or the tree owner/delegate, depending on whether the asset is in a verified collection. Defaults to payer.

    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

    Defaults to leafOwner.

    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.

    treeAuthority: TAccountTreeAuthority

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