Coda by Ian Macalinao
    Preparing search index...

    Type Alias CreateV2Input<TAccountAsset, TAccountCollection, TAccountAuthority, TAccountPayer, TAccountOwner, TAccountUpdateAuthority, TAccountSystemProgram, TAccountLogWrapper>

    type CreateV2Input<
        TAccountAsset extends InstructionSignerInput = InstructionSignerInput,
        TAccountCollection extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountAuthority extends InstructionSignerInput = InstructionSignerInput,
        TAccountPayer extends InstructionSignerInput = InstructionSignerInput,
        TAccountOwner extends InstructionAccountInput = InstructionAccountInput,
        TAccountUpdateAuthority extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountSystemProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountLogWrapper extends
            InstructionAccountInput = InstructionAccountInput,
    > = {
        asset: TAccountAsset;
        authority?: TAccountAuthority;
        collection?: TAccountCollection;
        createV2Args: CreateV2InstructionDataArgs["createV2Args"];
        logWrapper?: TAccountLogWrapper;
        owner?: TAccountOwner;
        payer: TAccountPayer;
        systemProgram?: TAccountSystemProgram;
        updateAuthority?: TAccountUpdateAuthority;
    }

    Type Parameters

    • TAccountAsset extends InstructionSignerInput = InstructionSignerInput
    • TAccountCollection extends InstructionAccountInput = InstructionAccountInput
    • TAccountAuthority extends InstructionSignerInput = InstructionSignerInput
    • TAccountPayer extends InstructionSignerInput = InstructionSignerInput
    • TAccountOwner extends InstructionAccountInput = InstructionAccountInput
    • TAccountUpdateAuthority extends InstructionAccountInput = InstructionAccountInput
    • TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountLogWrapper extends InstructionAccountInput = InstructionAccountInput
    Index

    The address of the new asset

    authority?: TAccountAuthority

    The authority signing for creation

    collection?: TAccountCollection

    The collection to which the asset belongs

    logWrapper?: TAccountLogWrapper

    The SPL Noop Program

    The owner of the new asset. Defaults to the authority if not present.

    The account paying for the storage fees

    systemProgram?: TAccountSystemProgram

    The system program

    updateAuthority?: TAccountUpdateAuthority

    The authority on the new asset