Coda by Ian Macalinao
    Preparing search index...

    Type Alias DelegateV2AsyncInput<TAccountTreeAuthority, TAccountPayer, TAccountLeafOwner, TAccountPreviousLeafDelegate, TAccountNewLeafDelegate, TAccountMerkleTree, TAccountLogWrapper, TAccountCompressionProgram, TAccountSystemProgram>

    type DelegateV2AsyncInput<
        TAccountTreeAuthority extends string = string,
        TAccountPayer extends string = string,
        TAccountLeafOwner extends string = string,
        TAccountPreviousLeafDelegate extends string = string,
        TAccountNewLeafDelegate extends string = string,
        TAccountMerkleTree extends string = string,
        TAccountLogWrapper extends string = string,
        TAccountCompressionProgram extends string = string,
        TAccountSystemProgram extends string = string,
    > = {
        assetDataHash: DelegateV2InstructionDataArgs["assetDataHash"];
        collectionHash: DelegateV2InstructionDataArgs["collectionHash"];
        compressionProgram?: Address<TAccountCompressionProgram>;
        creatorHash: DelegateV2InstructionDataArgs["creatorHash"];
        dataHash: DelegateV2InstructionDataArgs["dataHash"];
        flags: DelegateV2InstructionDataArgs["flags"];
        index: DelegateV2InstructionDataArgs["index"];
        leafOwner?: TransactionSigner<TAccountLeafOwner>;
        logWrapper?: Address<TAccountLogWrapper>;
        merkleTree: Address<TAccountMerkleTree>;
        newLeafDelegate: Address<TAccountNewLeafDelegate>;
        nonce: DelegateV2InstructionDataArgs["nonce"];
        payer: TransactionSigner<TAccountPayer>;
        previousLeafDelegate?: Address<TAccountPreviousLeafDelegate>;
        root: DelegateV2InstructionDataArgs["root"];
        systemProgram?: Address<TAccountSystemProgram>;
        treeAuthority?: Address<TAccountTreeAuthority>;
    }

    Type Parameters

    • TAccountTreeAuthority extends string = string
    • TAccountPayer extends string = string
    • TAccountLeafOwner extends string = string
    • TAccountPreviousLeafDelegate extends string = string
    • TAccountNewLeafDelegate extends string = string
    • TAccountMerkleTree extends string = string
    • TAccountLogWrapper extends string = string
    • TAccountCompressionProgram extends string = string
    • TAccountSystemProgram extends string = string
    Index

    Properties

    compressionProgram?: Address<TAccountCompressionProgram>

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

    leafOwner?: TransactionSigner<TAccountLeafOwner>

    Optional leaf owner, defaults to payer.

    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.

    newLeafDelegate: Address<TAccountNewLeafDelegate>

    Delegate to set on the leaf; pass the leaf owner to clear an existing delegate.

    payer: TransactionSigner<TAccountPayer>

    Account that pays for the transaction and any account rent.

    previousLeafDelegate?: Address<TAccountPreviousLeafDelegate>

    Defaults to leafOwner.

    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.