Coda by Ian Macalinao
    Preparing search index...

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

    type RedeemAsyncInput<
        TAccountTreeAuthority extends string = string,
        TAccountLeafOwner extends string = string,
        TAccountLeafDelegate 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>;
        creatorHash: RedeemInstructionDataArgs["creatorHash"];
        dataHash: RedeemInstructionDataArgs["dataHash"];
        index: RedeemInstructionDataArgs["index"];
        leafDelegate: Address<TAccountLeafDelegate>;
        leafOwner: TransactionSigner<TAccountLeafOwner>;
        logWrapper?: Address<TAccountLogWrapper>;
        merkleTree: Address<TAccountMerkleTree>;
        nonce: RedeemInstructionDataArgs["nonce"];
        root: RedeemInstructionDataArgs["root"];
        systemProgram?: Address<TAccountSystemProgram>;
        treeAuthority?: Address<TAccountTreeAuthority>;
        voucher: Address<TAccountVoucher>;
    }

    Type Parameters

    • TAccountTreeAuthority extends string = string
    • TAccountLeafOwner extends string = string
    • TAccountLeafDelegate 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.

    leafDelegate: Address<TAccountLeafDelegate>

    Delegate authority for the leaf; defaults to the leaf owner when no delegate is set.

    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 this instruction to record the redeemed leaf's data until it is decompressed or the redeem is cancelled.