Function createInitializeMetadataPointerInstruction

  • Construct an Initialize MetadataPointer instruction

    Parameters

    • mint: PublicKey

      Token mint account

    • authority: null | PublicKey

      Optional Authority that can set the metadata address

    • metadataAddress: null | PublicKey

      Optional Account address that holds the metadata

    • programId: PublicKey

      SPL Token program account

    Returns TransactionInstruction

    Instruction to add to a transaction

Generated using TypeDoc