Coda by Ian Macalinao
    Preparing search index...

    Type Alias ParsedSetDecompressableStateInstruction<TProgram, TAccountMetas>

    type ParsedSetDecompressableStateInstruction<
        TProgram extends string = typeof BUBBLEGUM_PROGRAM_ADDRESS,
        TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[],
    > = {
        accounts: {
            treeAuthority: TAccountMetas[0];
            treeCreator: TAccountMetas[1];
        };
        data: SetDecompressableStateInstructionData;
        programAddress: Address<TProgram>;
    }

    Type Parameters

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

    Properties

    accounts: { treeAuthority: TAccountMetas[0]; treeCreator: TAccountMetas[1] }

    Type Declaration

    • 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.

    • treeCreator: TAccountMetas[1]

      Creator of the tree, recorded in TreeConfig when the tree was created.

    programAddress: Address<TProgram>