Coda by Ian Macalinao
    Preparing search index...

    Type Alias CollectInstruction<TProgram, TAccountRecipient1, TAccountRecipient2, TRemainingAccounts>

    CollectInstruction: Instruction<TProgram> & InstructionWithData<
        ReadonlyUint8Array,
    > & InstructionWithAccounts<
        [
            TAccountRecipient1 extends string
                ? WritableAccount<TAccountRecipient1>
                : TAccountRecipient1,
            TAccountRecipient2 extends string
                ? WritableAccount<TAccountRecipient2>
                : TAccountRecipient2,
            ...TRemainingAccounts,
        ],
    >

    Type Parameters

    • TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS
    • TAccountRecipient1 extends string | AccountMeta<string> = string
    • TAccountRecipient2 extends string | AccountMeta<string> = string
    • TRemainingAccounts extends readonly AccountMeta<string>[] = []