Function createCreateNativeMintInstruction

  • Construct a CreateNativeMint instruction

    Parameters

    • payer: PublicKey
    • nativeMintId: PublicKey = NATIVE_MINT_2022
    • programId: PublicKey = TOKEN_2022_PROGRAM_ID

      SPL Token program account

    Returns TransactionInstruction

    Instruction to add to a transaction

Generated using TypeDoc