Coda by Ian Macalinao
    Preparing search index...

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

    type CreateInput<
        TAccountMetadata extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountMasterEdition extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountMint extends InstructionAccountInput = InstructionAccountInput,
        TAccountAuthority extends InstructionSignerInput = InstructionSignerInput,
        TAccountPayer extends InstructionSignerInput = InstructionSignerInput,
        TAccountUpdateAuthority extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountSystemProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountSysvarInstructions extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountSplTokenProgram extends
            InstructionAccountInput = InstructionAccountInput,
    > = {
        authority: TAccountAuthority;
        createArgs: CreateInstructionDataArgs["createArgs"];
        masterEdition?: TAccountMasterEdition;
        metadata: TAccountMetadata;
        mint: TAccountMint;
        payer: TAccountPayer;
        splTokenProgram?: TAccountSplTokenProgram;
        systemProgram?: TAccountSystemProgram;
        sysvarInstructions?: TAccountSysvarInstructions;
        updateAuthority: TAccountUpdateAuthority;
    }

    Type Parameters

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

    Mint authority

    masterEdition?: TAccountMasterEdition

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

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

    Mint of token asset

    Payer

    splTokenProgram?: TAccountSplTokenProgram

    SPL Token program

    systemProgram?: TAccountSystemProgram

    System program

    sysvarInstructions?: TAccountSysvarInstructions

    Instructions sysvar account

    updateAuthority: TAccountUpdateAuthority

    Update authority for the metadata account