Coda by Ian Macalinao
    Preparing search index...

    Type Alias UpdateMetadataAsyncInput<TAccountTreeAuthority, TAccountAuthority, TAccountCollectionMint, TAccountCollectionMetadata, TAccountCollectionAuthorityRecordPda, TAccountLeafOwner, TAccountLeafDelegate, TAccountPayer, TAccountMerkleTree, TAccountLogWrapper, TAccountCompressionProgram, TAccountTokenMetadataProgram, TAccountSystemProgram>

    type UpdateMetadataAsyncInput<
        TAccountTreeAuthority extends string = string,
        TAccountAuthority extends string = string,
        TAccountCollectionMint extends string = string,
        TAccountCollectionMetadata extends string = string,
        TAccountCollectionAuthorityRecordPda extends string = string,
        TAccountLeafOwner extends string = string,
        TAccountLeafDelegate extends string = string,
        TAccountPayer extends string = string,
        TAccountMerkleTree extends string = string,
        TAccountLogWrapper extends string = string,
        TAccountCompressionProgram extends string = string,
        TAccountTokenMetadataProgram extends string = string,
        TAccountSystemProgram extends string = string,
    > = {
        authority: TransactionSigner<TAccountAuthority>;
        collectionAuthorityRecordPda?: Address<
            TAccountCollectionAuthorityRecordPda,
        >;
        collectionMetadata?: Address<TAccountCollectionMetadata>;
        collectionMint?: Address<TAccountCollectionMint>;
        compressionProgram?: Address<TAccountCompressionProgram>;
        currentMetadata: UpdateMetadataInstructionDataArgs["currentMetadata"];
        index: UpdateMetadataInstructionDataArgs["index"];
        leafDelegate: Address<TAccountLeafDelegate>;
        leafOwner: Address<TAccountLeafOwner>;
        logWrapper?: Address<TAccountLogWrapper>;
        merkleTree: Address<TAccountMerkleTree>;
        nonce: UpdateMetadataInstructionDataArgs["nonce"];
        payer: TransactionSigner<TAccountPayer>;
        root: UpdateMetadataInstructionDataArgs["root"];
        systemProgram?: Address<TAccountSystemProgram>;
        tokenMetadataProgram?: Address<TAccountTokenMetadataProgram>;
        treeAuthority?: Address<TAccountTreeAuthority>;
        updateArgs: UpdateMetadataInstructionDataArgs["updateArgs"];
    }

    Type Parameters

    • TAccountTreeAuthority extends string = string
    • TAccountAuthority extends string = string
    • TAccountCollectionMint extends string = string
    • TAccountCollectionMetadata extends string = string
    • TAccountCollectionAuthorityRecordPda extends string = string
    • TAccountLeafOwner extends string = string
    • TAccountLeafDelegate extends string = string
    • TAccountPayer extends string = string
    • TAccountMerkleTree extends string = string
    • TAccountLogWrapper extends string = string
    • TAccountCompressionProgram extends string = string
    • TAccountTokenMetadataProgram extends string = string
    • TAccountSystemProgram extends string = string
    Index

    Properties

    authority: TransactionSigner<TAccountAuthority>

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

    collectionAuthorityRecordPda?: Address<TAccountCollectionAuthorityRecordPda>

    Delegated collection authority record PDA. Pass the Bubblegum program id if collectionAuthority is the collection's direct update authority rather than a delegate.

    collectionMetadata?: Address<TAccountCollectionMetadata>

    Used when the asset is in a verified collection.

    collectionMint?: Address<TAccountCollectionMint>

    Used when the asset is in a verified collection.

    compressionProgram?: Address<TAccountCompressionProgram>

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

    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.