Coda by Ian Macalinao
    Preparing search index...

    Type Alias CloseTreeV2AsyncInput<TAccountTreeAuthority, TAccountAuthority, TAccountMerkleTree, TAccountRecipient, TAccountCompressionProgram, TAccountLogWrapper, TAccountSystemProgram>

    type CloseTreeV2AsyncInput<
        TAccountTreeAuthority extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountAuthority extends InstructionSignerInput = InstructionSignerInput,
        TAccountMerkleTree extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountRecipient extends InstructionAccountInput = InstructionAccountInput,
        TAccountCompressionProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountLogWrapper extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountSystemProgram extends
            InstructionAccountInput = InstructionAccountInput,
    > = {
        authority: TAccountAuthority;
        compressionProgram?: TAccountCompressionProgram;
        logWrapper?: TAccountLogWrapper;
        merkleTree: TAccountMerkleTree;
        recipient: TAccountRecipient;
        systemProgram?: TAccountSystemProgram;
        treeAuthority?: TAccountTreeAuthority;
    }

    Type Parameters

    • TAccountTreeAuthority extends InstructionAccountInput = InstructionAccountInput
    • TAccountAuthority extends InstructionSignerInput = InstructionSignerInput
    • TAccountMerkleTree extends InstructionAccountInput = InstructionAccountInput
    • TAccountRecipient extends InstructionAccountInput = InstructionAccountInput
    • TAccountCompressionProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountLogWrapper extends InstructionAccountInput = InstructionAccountInput
    • TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput
    Index

    Tree creator or delegate.

    compressionProgram?: TAccountCompressionProgram

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

    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.

    Recipient for the reclaimed lamports (tree + config PDA). Must be the tree creator or delegate.

    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.