Coda by Ian Macalinao
    Preparing search index...

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

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

    Type Parameters

    • TAccountTreeAuthority extends string = string
    • TAccountTreeCreator extends string = string
    • TAccountNewTreeDelegate extends string = string
    • TAccountMerkleTree extends string = string
    • TAccountSystemProgram extends string = string
    Index

    Properties

    merkleTree: Address<TAccountMerkleTree>

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

    newTreeDelegate: Address<TAccountNewTreeDelegate>

    New delegate authority to set for the tree.

    systemProgram?: Address<TAccountSystemProgram>

    The Solana System program.

    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.

    treeCreator: TransactionSigner<TAccountTreeCreator>

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