Coda by Ian Macalinao
    Preparing search index...

    Type Alias CompressAsyncInput<TAccountTreeAuthority, TAccountLeafOwner, TAccountLeafDelegate, TAccountMerkleTree, TAccountTokenAccount, TAccountMint, TAccountMetadata, TAccountMasterEdition, TAccountPayer, TAccountLogWrapper, TAccountCompressionProgram, TAccountTokenProgram, TAccountTokenMetadataProgram, TAccountSystemProgram>

    type CompressAsyncInput<
        TAccountTreeAuthority extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountLeafOwner extends InstructionSignerInput = InstructionSignerInput,
        TAccountLeafDelegate extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountMerkleTree extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountMint extends InstructionAccountInput = InstructionAccountInput,
        TAccountMetadata extends InstructionAccountInput = InstructionAccountInput,
        TAccountMasterEdition extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountPayer extends InstructionSignerInput = InstructionSignerInput,
        TAccountLogWrapper extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountCompressionProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenMetadataProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountSystemProgram extends
            InstructionAccountInput = InstructionAccountInput,
    > = {
        compressionProgram?: TAccountCompressionProgram;
        leafDelegate: TAccountLeafDelegate;
        leafOwner: TAccountLeafOwner;
        logWrapper?: TAccountLogWrapper;
        masterEdition: TAccountMasterEdition;
        merkleTree: TAccountMerkleTree;
        metadata: TAccountMetadata;
        mint: TAccountMint;
        payer: TAccountPayer;
        systemProgram?: TAccountSystemProgram;
        tokenAccount: TAccountTokenAccount;
        tokenMetadataProgram?: TAccountTokenMetadataProgram;
        tokenProgram?: TAccountTokenProgram;
        treeAuthority?: TAccountTreeAuthority;
    }

    Type Parameters

    • TAccountTreeAuthority extends InstructionAccountInput = InstructionAccountInput
    • TAccountLeafOwner extends InstructionSignerInput = InstructionSignerInput
    • TAccountLeafDelegate extends InstructionAccountInput = InstructionAccountInput
    • TAccountMerkleTree extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountMint extends InstructionAccountInput = InstructionAccountInput
    • TAccountMetadata extends InstructionAccountInput = InstructionAccountInput
    • TAccountMasterEdition extends InstructionAccountInput = InstructionAccountInput
    • TAccountPayer extends InstructionSignerInput = InstructionSignerInput
    • TAccountLogWrapper extends InstructionAccountInput = InstructionAccountInput
    • TAccountCompressionProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenMetadataProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput
    Index
    compressionProgram?: TAccountCompressionProgram

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

    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.

    masterEdition: TAccountMasterEdition

    Master edition account created for the decompressed NFT.

    merkleTree: TAccountMerkleTree

    The concurrent Merkle tree account storing the compressed leaves, owned by the account compression program.

    Metadata account created for the decompressed NFT.

    Mint account of the decompressed NFT, created fresh during decompression.

    Account that pays for the transaction and any account rent.

    systemProgram?: TAccountSystemProgram

    The Solana System program.

    tokenAccount: TAccountTokenAccount

    Token account that will hold the decompressed NFT for leafOwner.

    tokenMetadataProgram?: TAccountTokenMetadataProgram

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

    tokenProgram?: TAccountTokenProgram

    The SPL Token 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.