@metaplex-foundation/mpl-token-metadata-kit - v0.0.1
    Preparing search index...

    Type Alias CreateV1Input<TAccountMetadata, TAccountMasterEdition, TAccountMint, TAccountAuthority, TAccountPayer, TAccountUpdateAuthority, TAccountSystemProgram, TAccountSysvarInstructions, TAccountSplTokenProgram>

    type CreateV1Input<
        TAccountMetadata extends string = string,
        TAccountMasterEdition extends string = string,
        TAccountMint extends string = string,
        TAccountAuthority extends string = string,
        TAccountPayer extends string = string,
        TAccountUpdateAuthority extends string = string,
        TAccountSystemProgram extends string = string,
        TAccountSysvarInstructions extends string = string,
        TAccountSplTokenProgram extends string = string,
    > = {
        authority?: TransactionSigner<TAccountAuthority>;
        collection?: CreateV1InstructionDataArgs["collection"];
        collectionDetails?: CreateV1InstructionDataArgs["collectionDetails"];
        creators?: CreateV1InstructionDataArgs["creators"];
        decimals?: CreateV1InstructionDataArgs["decimals"];
        isCollection?: CreateV1InstructionExtraArgs["isCollection"];
        isMutable?: CreateV1InstructionDataArgs["isMutable"];
        masterEdition?: Address<TAccountMasterEdition>;
        metadata: Address<TAccountMetadata>;
        mint: Address<TAccountMint> | TransactionSigner<TAccountMint>;
        name: CreateV1InstructionDataArgs["name"];
        payer: TransactionSigner<TAccountPayer>;
        primarySaleHappened?: CreateV1InstructionDataArgs["primarySaleHappened"];
        printSupply?: CreateV1InstructionDataArgs["printSupply"];
        ruleSet?: CreateV1InstructionDataArgs["ruleSet"];
        sellerFeeBasisPoints: CreateV1InstructionDataArgs["sellerFeeBasisPoints"];
        splTokenProgram?: Address<TAccountSplTokenProgram>;
        symbol?: CreateV1InstructionDataArgs["symbol"];
        systemProgram?: Address<TAccountSystemProgram>;
        sysvarInstructions?: Address<TAccountSysvarInstructions>;
        tokenStandard?: CreateV1InstructionDataArgs["tokenStandard"];
        updateAuthority?:
            | Address<TAccountUpdateAuthority>
            | TransactionSigner<TAccountUpdateAuthority>;
        uri: CreateV1InstructionDataArgs["uri"];
        uses?: CreateV1InstructionDataArgs["uses"];
    }

    Type Parameters

    • TAccountMetadata extends string = string
    • TAccountMasterEdition extends string = string
    • TAccountMint extends string = string
    • TAccountAuthority extends string = string
    • TAccountPayer extends string = string
    • TAccountUpdateAuthority extends string = string
    • TAccountSystemProgram extends string = string
    • TAccountSysvarInstructions extends string = string
    • TAccountSplTokenProgram extends string = string
    Index

    Properties

    authority?: TransactionSigner<TAccountAuthority>

    Mint authority

    masterEdition?: Address<TAccountMasterEdition>

    Unallocated edition account with address as pda of ['metadata', program id, mint, 'edition']

    metadata: Address<TAccountMetadata>

    Unallocated metadata account with address as pda of ['metadata', program id, mint id]

    mint: Address<TAccountMint> | TransactionSigner<TAccountMint>

    Mint of token asset

    payer: TransactionSigner<TAccountPayer>

    Payer

    splTokenProgram?: Address<TAccountSplTokenProgram>

    SPL Token program

    systemProgram?: Address<TAccountSystemProgram>

    System program

    sysvarInstructions?: Address<TAccountSysvarInstructions>

    Instructions sysvar account

    updateAuthority?:
        | Address<TAccountUpdateAuthority>
        | TransactionSigner<TAccountUpdateAuthority>

    Update authority for the metadata account