Coda by Ian Macalinao
    Preparing search index...

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

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

    Type Parameters

    • TAccountTreeAuthority extends string = string
    • TAccountLeafOwner extends string = string
    • TAccountMerkleTree extends string = string
    • TAccountVoucher 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>

    Owner of the compressed NFT leaf being operated on.

    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.

    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.

    voucher: Address<TAccountVoucher>

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