• Mint tokens to an account

    Parameters

    • connection: Connection

      Connection to use

    • payer: Signer

      Payer of the transaction fees

    • mint: PublicKey

      Mint for the account

    • destination: PublicKey

      Address of the account to mint to

    • authority: PublicKey | Signer

      Minting authority

    • amount: number | bigint

      Amount to mint

    • multiSigners: Signer[] = []

      Signing accounts if authority is a multisig

    • Optional confirmOptions: ConfirmOptions

      Options for confirming the transaction

    • programId: PublicKey = TOKEN_PROGRAM_ID

      SPL Token program account

    Returns Promise<TransactionSignature>

    Signature of the confirmed transaction

Generated using TypeDoc