Coda by Ian Macalinao
    Preparing search index...

    Type Alias ParsedBurnInstruction<TProgram, TAccountMetas>

    type ParsedBurnInstruction<
        TProgram extends string = typeof BUBBLEGUM_PROGRAM_ADDRESS,
        TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[],
    > = {
        accounts: {
            compressionProgram: TAccountMetas[5];
            leafDelegate: TAccountMetas[2];
            leafOwner: TAccountMetas[1];
            logWrapper: TAccountMetas[4];
            merkleTree: TAccountMetas[3];
            systemProgram: TAccountMetas[6];
            treeAuthority: TAccountMetas[0];
        };
        data: BurnInstructionData;
        programAddress: Address<TProgram>;
    }

    Type Parameters

    • TProgram extends string = typeof BUBBLEGUM_PROGRAM_ADDRESS
    • TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]
    Index

    Properties

    accounts: {
        compressionProgram: TAccountMetas[5];
        leafDelegate: TAccountMetas[2];
        leafOwner: TAccountMetas[1];
        logWrapper: TAccountMetas[4];
        merkleTree: TAccountMetas[3];
        systemProgram: TAccountMetas[6];
        treeAuthority: TAccountMetas[0];
    }

    Type Declaration

    • compressionProgram: TAccountMetas[5]

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

    • leafDelegate: TAccountMetas[2]

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

    • leafOwner: TAccountMetas[1]

      Owner of the compressed NFT leaf being operated on.

    • logWrapper: TAccountMetas[4]

      The SPL/MPL Noop program, used to log leaf data so off-chain indexers can reconstruct the tree.

    • merkleTree: TAccountMetas[3]

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

    • systemProgram: TAccountMetas[6]

      The Solana System program.

    • treeAuthority: TAccountMetas[0]

      The tree's TreeConfig PDA, which stores its configuration and acts as the tree's authority for CPIs into the compression program.

    programAddress: Address<TProgram>