Type alias MintNewEditionFromMasterEditionViaTokenInstructionAccounts

MintNewEditionFromMasterEditionViaTokenInstructionAccounts: {
    editionMarkPda: PublicKey | Pda;
    masterEdition: PublicKey | Pda;
    metadata: PublicKey | Pda;
    newEdition: PublicKey | Pda;
    newMetadata: PublicKey | Pda;
    newMetadataUpdateAuthority: PublicKey | Pda;
    newMint: PublicKey | Pda;
    newMintAuthority: Signer;
    payer?: Signer;
    rent?: PublicKey | Pda;
    systemProgram?: PublicKey | Pda;
    tokenAccount: PublicKey | Pda;
    tokenAccountOwner: Signer;
    tokenProgram?: PublicKey | Pda;
}

Type declaration

  • editionMarkPda: PublicKey | Pda

    Edition pda to mark creation - will be checked for pre-existence. (pda of ['metadata', program id, master metadata mint id, 'edition', edition_number]) where edition_number is NOT the edition number you pass in args but actually edition_number = floor(edition/EDITION_MARKER_BIT_SIZE).

  • masterEdition: PublicKey | Pda

    Master Record Edition V2 (pda of ['metadata', program id, master metadata mint id, 'edition'])

  • metadata: PublicKey | Pda

    Master record metadata account

  • newEdition: PublicKey | Pda

    New Edition (pda of ['metadata', program id, mint id, 'edition'])

  • newMetadata: PublicKey | Pda

    New Metadata key (pda of ['metadata', program id, mint id])

  • newMetadataUpdateAuthority: PublicKey | Pda

    Update authority info for new metadata

  • newMint: PublicKey | Pda

    Mint of new token - THIS WILL TRANSFER AUTHORITY AWAY FROM THIS KEY

  • newMintAuthority: Signer

    Mint authority of new mint

  • Optional payer?: Signer

    payer

  • Optional rent?: PublicKey | Pda

    Rent info

  • Optional systemProgram?: PublicKey | Pda

    System program

  • tokenAccount: PublicKey | Pda

    token account containing token from master metadata mint

  • tokenAccountOwner: Signer

    owner of token account containing master token (#8)

  • Optional tokenProgram?: PublicKey | Pda

    Token program

Generated using TypeDoc