Coda by Ian Macalinao
    Preparing search index...

    Type Alias SetTreeDelegateAsyncInput<TAccountTreeAuthority, TAccountTreeCreator, TAccountNewTreeDelegate, TAccountMerkleTree, TAccountSystemProgram>

    type SetTreeDelegateAsyncInput<
        TAccountTreeAuthority extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTreeCreator extends InstructionSignerInput = InstructionSignerInput,
        TAccountNewTreeDelegate extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountMerkleTree extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountSystemProgram extends
            InstructionAccountInput = InstructionAccountInput,
    > = {
        merkleTree: TAccountMerkleTree;
        newTreeDelegate: TAccountNewTreeDelegate;
        systemProgram?: TAccountSystemProgram;
        treeAuthority?: TAccountTreeAuthority;
        treeCreator: TAccountTreeCreator;
    }

    Type Parameters

    • TAccountTreeAuthority extends InstructionAccountInput = InstructionAccountInput
    • TAccountTreeCreator extends InstructionSignerInput = InstructionSignerInput
    • TAccountNewTreeDelegate extends InstructionAccountInput = InstructionAccountInput
    • TAccountMerkleTree extends InstructionAccountInput = InstructionAccountInput
    • TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput
    Index
    merkleTree: TAccountMerkleTree

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

    newTreeDelegate: TAccountNewTreeDelegate

    New delegate authority to set for the tree.

    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.

    treeCreator: TAccountTreeCreator

    Creator of the tree, recorded in TreeConfig when the tree was created.