Type alias PrintNewEditionBuilderParams

PrintNewEditionBuilderParams: {
    originalMint: PublicKey;
    originalSupply: BigNumber;
    originalTokenAccountOwner?: undefined | Signer;
    originalTokenAccount?: undefined | PublicKey;
    newMint?: undefined | Signer;
    newUpdateAuthority?: undefined | PublicKey;
    newOwner?: undefined | PublicKey;
    newTokenAccount?: undefined | Signer;
    createMintAccountInstructionKey?: undefined | string;
    initializeMintInstructionKey?: undefined | string;
    createAssociatedTokenAccountInstructionKey?: undefined | string;
    createTokenAccountInstructionKey?: undefined | string;
    initializeTokenInstructionKey?: undefined | string;
    mintTokensInstructionKey?: undefined | string;
    printNewEditionInstructionKey?: undefined | string;
}

Type declaration

  • originalMint: PublicKey

    The address of the original NFT.

  • originalSupply: BigNumber

    The current supply of the original edition.

  • Optional originalTokenAccountOwner?: undefined | Signer

    The owner of the original NFT as a Signer.

    Default Value

    metaplex.identity()

  • Optional originalTokenAccount?: undefined | PublicKey

    The address of the original NFT's token account.

    Default Value

    Defaults to using the associated token account from the originalMint and originalTokenAccountOwner parameters.

  • Optional newMint?: undefined | Signer

    The address of the new mint account as a Signer. This is useful if you already have a generated Keypair for the mint account of the Print NFT to create.

    Default Value

    Keypair.generate()

  • Optional newUpdateAuthority?: undefined | PublicKey

    The update authority of the new printed NFT.

    Depending on your use-case, you might want to change that to the updateAuthority of the original NFT.

    Default Value

    metaplex.identity()

  • Optional newOwner?: undefined | PublicKey

    The owner of the new printed NFT.

    Default Value

    metaplex.identity().publicKey

  • Optional newTokenAccount?: undefined | Signer

    The address of the new printed NFT's token account.

    Default Value

    Defaults to using the associated token account from the originalMint and newOwner parameters.

  • Optional createMintAccountInstructionKey?: undefined | string

    A key to distinguish the instruction that creates the mint account.

  • Optional initializeMintInstructionKey?: undefined | string

    A key to distinguish the instruction that initializes the mint account.

  • Optional createAssociatedTokenAccountInstructionKey?: undefined | string

    A key to distinguish the instruction that creates the associated token account.

  • Optional createTokenAccountInstructionKey?: undefined | string

    A key to distinguish the instruction that creates the token account.

  • Optional initializeTokenInstructionKey?: undefined | string

    A key to distinguish the instruction that initializes the token account.

  • Optional mintTokensInstructionKey?: undefined | string

    A key to distinguish the instruction that mints tokens.

  • Optional printNewEditionInstructionKey?: undefined | string

    A key to distinguish the instruction that prints the new edition.

Generated using TypeDoc