Coda by Ian Macalinao
    Preparing search index...

    Type Alias CreateTreeV2Instruction<TProgram, TAccountTreeAuthority, TAccountMerkleTree, TAccountPayer, TAccountTreeCreator, TAccountLogWrapper, TAccountCompressionProgram, TAccountSystemProgram, TRemainingAccounts>

    CreateTreeV2Instruction: Instruction<TProgram> & InstructionWithData<
        ReadonlyUint8Array,
    > & InstructionWithAccounts<
        [
            TAccountTreeAuthority extends string
                ? WritableAccount<TAccountTreeAuthority>
                : TAccountTreeAuthority,
            TAccountMerkleTree extends string
                ? WritableAccount<TAccountMerkleTree>
                : TAccountMerkleTree,
            TAccountPayer extends string
                ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<
                    TAccountPayer,
                >
                : TAccountPayer,
            TAccountTreeCreator extends string
                ? ReadonlySignerAccount<TAccountTreeCreator> & AccountSignerMeta<
                    TAccountTreeCreator,
                >
                : TAccountTreeCreator,
            TAccountLogWrapper extends string
                ? ReadonlyAccount<TAccountLogWrapper>
                : TAccountLogWrapper,
            TAccountCompressionProgram extends string
                ? ReadonlyAccount<TAccountCompressionProgram>
                : TAccountCompressionProgram,
            TAccountSystemProgram extends string
                ? ReadonlyAccount<TAccountSystemProgram>
                : TAccountSystemProgram,
            ...TRemainingAccounts,
        ],
    >

    Type Parameters

    • TProgram extends string = typeof BUBBLEGUM_PROGRAM_ADDRESS
    • TAccountTreeAuthority extends string | AccountMeta<string> = string
    • TAccountMerkleTree extends string | AccountMeta<string> = string
    • TAccountPayer extends string | AccountMeta<string> = string
    • TAccountTreeCreator extends string | AccountMeta<string> = string
    • TAccountLogWrapper extends string | AccountMeta<string> = "mnoopTCrg4p8ry25e4bcWA9XZjbNjMTfgYVGGEdRsf3"
    • TAccountCompressionProgram extends string | AccountMeta<string> = "mcmt6YrQEMKw8Mw43FmpRLmf7BqRnFMKmAcbxE3xkAW"
    • TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111"
    • TRemainingAccounts extends readonly AccountMeta<string>[] = []