Coda by Ian Macalinao
    Preparing search index...

    Type Alias CancelRedeemInput<TAccountTreeAuthority, TAccountLeafOwner, TAccountMerkleTree, TAccountVoucher, TAccountLogWrapper, TAccountCompressionProgram, TAccountSystemProgram>

    type CancelRedeemInput<
        TAccountTreeAuthority extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountLeafOwner extends InstructionSignerInput = InstructionSignerInput,
        TAccountMerkleTree extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountVoucher extends InstructionAccountInput = InstructionAccountInput,
        TAccountLogWrapper extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountCompressionProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountSystemProgram extends
            InstructionAccountInput = InstructionAccountInput,
    > = {
        compressionProgram?: TAccountCompressionProgram;
        leafOwner: TAccountLeafOwner;
        logWrapper?: TAccountLogWrapper;
        merkleTree: TAccountMerkleTree;
        root: CancelRedeemInstructionDataArgs["root"];
        systemProgram?: TAccountSystemProgram;
        treeAuthority: TAccountTreeAuthority;
        voucher: TAccountVoucher;
    }

    Type Parameters

    • TAccountTreeAuthority extends InstructionAccountInput = InstructionAccountInput
    • TAccountLeafOwner extends InstructionSignerInput = InstructionSignerInput
    • TAccountMerkleTree extends InstructionAccountInput = InstructionAccountInput
    • TAccountVoucher extends InstructionAccountInput = InstructionAccountInput
    • TAccountLogWrapper extends InstructionAccountInput = InstructionAccountInput
    • TAccountCompressionProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput
    Index
    compressionProgram?: TAccountCompressionProgram

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

    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.

    merkleTree: TAccountMerkleTree

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

    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.

    Voucher PDA created by redeem; closed by this instruction as the leaf is restored to the tree.