Coda by Ian Macalinao
    Preparing search index...

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

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

    Type Parameters

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

    Properties

    asset: TransactionSigner<TAccountAsset>

    The address of the new asset

    authority?: TransactionSigner<TAccountAuthority>

    The authority signing for creation

    collection?: Address<TAccountCollection>

    The collection to which the asset belongs

    logWrapper?: Address<TAccountLogWrapper>

    The SPL Noop Program

    owner?: Address<TAccountOwner>

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

    payer: TransactionSigner<TAccountPayer>

    The account paying for the storage fees

    systemProgram?: Address<TAccountSystemProgram>

    The system program

    updateAuthority?: Address<TAccountUpdateAuthority>

    The authority on the new asset