Function createNativeMint

  • Create native mint

    Parameters

    • connection: Connection

      Connection to use

    • payer: Signer

      Payer of the transaction and initialization fees

    • Optional confirmOptions: ConfirmOptions

      Options for confirming the transaction

    • nativeMint: PublicKey = NATIVE_MINT_2022

      Native mint id associated with program

    • programId: PublicKey = TOKEN_2022_PROGRAM_ID

      SPL Token program account

    Returns Promise<void>

Generated using TypeDoc