Coda by Ian Macalinao
    Preparing search index...

    Type Alias DecompressV1Input<TAccountVoucher, TAccountLeafOwner, TAccountTokenAccount, TAccountMint, TAccountMintAuthority, TAccountMetadata, TAccountMasterEdition, TAccountSystemProgram, TAccountSysvarRent, TAccountTokenMetadataProgram, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountLogWrapper>

    type DecompressV1Input<
        TAccountVoucher extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountLeafOwner extends InstructionSignerInput = InstructionSignerInput,
        TAccountTokenAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountMint extends InstructionAccountInput = InstructionAccountInput,
        TAccountMintAuthority extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountMetadata extends InstructionAccountInput = InstructionAccountInput,
        TAccountMasterEdition extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountSystemProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountSysvarRent extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenMetadataProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountAssociatedTokenProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountLogWrapper extends
            InstructionAccountInput = InstructionAccountInput,
    > = {
        associatedTokenProgram?: TAccountAssociatedTokenProgram;
        leafOwner: TAccountLeafOwner;
        logWrapper?: TAccountLogWrapper;
        masterEdition: TAccountMasterEdition;
        metadata: TAccountMetadata;
        metadataArg: DecompressV1InstructionDataArgs["metadata"];
        mint: TAccountMint;
        mintAuthority: TAccountMintAuthority;
        systemProgram?: TAccountSystemProgram;
        sysvarRent?: TAccountSysvarRent;
        tokenAccount: TAccountTokenAccount;
        tokenMetadataProgram?: TAccountTokenMetadataProgram;
        tokenProgram?: TAccountTokenProgram;
        voucher: TAccountVoucher;
    }

    Type Parameters

    • TAccountVoucher extends InstructionAccountInput = InstructionAccountInput
    • TAccountLeafOwner extends InstructionSignerInput = InstructionSignerInput
    • TAccountTokenAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountMint extends InstructionAccountInput = InstructionAccountInput
    • TAccountMintAuthority extends InstructionAccountInput = InstructionAccountInput
    • TAccountMetadata extends InstructionAccountInput = InstructionAccountInput
    • TAccountMasterEdition extends InstructionAccountInput = InstructionAccountInput
    • TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountSysvarRent extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenMetadataProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountAssociatedTokenProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountLogWrapper extends InstructionAccountInput = InstructionAccountInput
    Index
    associatedTokenProgram?: TAccountAssociatedTokenProgram

    The SPL Associated Token Account program.

    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.

    masterEdition: TAccountMasterEdition

    Master edition account created for the decompressed NFT.

    Metadata account created for the decompressed NFT.

    Mint account of the decompressed NFT, created fresh during decompression.

    mintAuthority: TAccountMintAuthority

    PDA mint authority for the decompressed NFT's mint.

    systemProgram?: TAccountSystemProgram

    The Solana System program.

    sysvarRent?: TAccountSysvarRent

    The Rent sysvar.

    tokenAccount: TAccountTokenAccount

    Token account that will hold the decompressed NFT for leafOwner.

    tokenMetadataProgram?: TAccountTokenMetadataProgram

    The Token Metadata program, invoked to read or (un)verify the legacy collection accounts.

    tokenProgram?: TAccountTokenProgram

    The SPL Token program.

    Voucher PDA created by redeem; closed by this instruction once its leaf data has been used to mint the decompressed NFT.