Coda by Ian Macalinao
    Preparing search index...

    Type Alias CreateSubaccountInfoInput<TAccountSubaccountInfo, TAccountPayer, TAccountSystemProgram>

    type CreateSubaccountInfoInput<
        TAccountSubaccountInfo extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountPayer extends InstructionSignerInput = InstructionSignerInput,
        TAccountSystemProgram extends
            InstructionAccountInput = InstructionAccountInput,
    > = {
        bump: CreateSubaccountInfoInstructionDataArgs["bump"];
        index: CreateSubaccountInfoInstructionDataArgs["index"];
        payer: TAccountPayer;
        smartWallet: CreateSubaccountInfoInstructionDataArgs["smartWallet"];
        subaccount: CreateSubaccountInfoInstructionDataArgs["subaccount"];
        subaccountInfo: TAccountSubaccountInfo;
        subaccountType: CreateSubaccountInfoInstructionDataArgs["subaccountType"];
        systemProgram?: TAccountSystemProgram;
    }

    Type Parameters

    • TAccountSubaccountInfo extends InstructionAccountInput = InstructionAccountInput
    • TAccountPayer extends InstructionSignerInput = InstructionSignerInput
    • TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput
    Index
    subaccountInfo: TAccountSubaccountInfo
    systemProgram?: TAccountSystemProgram