Coda by Ian Macalinao
    Preparing search index...

    Type Alias CreateV1Instruction<TProgram, TAccountAsset, TAccountCollection, TAccountAuthority, TAccountPayer, TAccountOwner, TAccountUpdateAuthority, TAccountSystemProgram, TAccountLogWrapper, TRemainingAccounts>

    CreateV1Instruction: Instruction<TProgram> & InstructionWithData<
        ReadonlyUint8Array,
    > & InstructionWithAccounts<
        [
            TAccountAsset extends string
                ? WritableSignerAccount<TAccountAsset> & AccountSignerMeta<
                    TAccountAsset,
                >
                : TAccountAsset,
            TAccountCollection extends string
                ? WritableAccount<TAccountCollection>
                : TAccountCollection,
            TAccountAuthority extends string
                ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<
                    TAccountAuthority,
                >
                : TAccountAuthority,
            TAccountPayer extends string
                ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<
                    TAccountPayer,
                >
                : TAccountPayer,
            TAccountOwner extends string
                ? ReadonlyAccount<TAccountOwner>
                : TAccountOwner,
            TAccountUpdateAuthority extends string
                ? ReadonlyAccount<TAccountUpdateAuthority>
                : TAccountUpdateAuthority,
            TAccountSystemProgram extends string
                ? ReadonlyAccount<TAccountSystemProgram>
                : TAccountSystemProgram,
            TAccountLogWrapper extends string
                ? ReadonlyAccount<TAccountLogWrapper>
                : TAccountLogWrapper,
            ...TRemainingAccounts,
        ],
    >

    Type Parameters

    • TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS
    • TAccountAsset extends string | AccountMeta<string> = string
    • TAccountCollection extends string | AccountMeta<string> = string
    • TAccountAuthority extends string | AccountMeta<string> = string
    • TAccountPayer extends string | AccountMeta<string> = string
    • TAccountOwner extends string | AccountMeta<string> = string
    • TAccountUpdateAuthority extends string | AccountMeta<string> = string
    • TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111"
    • TAccountLogWrapper extends string | AccountMeta<string> = string
    • TRemainingAccounts extends readonly AccountMeta<string>[] = []