# How to mint a Non-Fungible Token?

* **mintTo**

Mints a new NFT token and assigns it to the specified recipient.

```typescript
import { L1XProvider, NFTTokenMintToArg } from "@l1x/l1x-wallet-sdk";

let l1xProvider = new L1XProvider({
  clusterType: "mainnet",
  endpoint: "https://v2-mainnet-rpc.l1x.foundation",
});

let params: NFTTokenMintToArg = {
  attrib: {
    contract_address: "cf0289e86714d97979d726eeb2fa3a23b9c007c1",
    recipient_address: "346fb07c43e88b58c058e8d6c4bf2f5080a01999",
    token_id: 234,
  },
  private_key: "YOUR_PRIVATE_KEY",
  fee_limit: 1,
};

l1xProvider.tokens.NFT.mintTo(params)
  .then((response) => console.log(response)) // log response
  .catch((err) => console.error(err)); // log error

```

**Parameters**:

The attribute for minting the token.

```json
{
  attrib: {
    contract_address: "cf0289e86714d97979d726eeb2fa3a23b9c007c1",
    recipient_address: "346fb07c43e88b58c058e8d6c4bf2f5080a01999",
    token_id: 234,
  },
  private_key: "YOUR_PRIVATE_KEY",
  fee_limit: 1,
}
```

**Returns:**

The response of the minting operation.

```json
{
    "hash": "dc224ba854d5fbd3371f6d509b9a0b5451fff78a70ad3a209b5c273f8da0abfb"
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://l1x-sdk.gitbook.io/l1x-wallet-sdk/4BgPf6WH50hnVEUCHE22/non-fungible-token-methods/how-to-mint-a-non-fungible-token.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
