# NFT

NFT-related APIs. Allow game servers to mint eligible in-game items as blockchain NFTs via Sverse.

NFT minting operations are asynchronous and managed by the Sverse infrastructure.

## Mint NFT for user item

> Mint NFT cho item thuộc về user (identity).\
> Mint là async, trả về trạng thái \`minting\`.<br>

```json
{"openapi":"3.0.3","info":{"title":"Sverse Managed Backend (Server SDK)","version":"1.0.0"},"tags":[{"name":"NFT","description":"NFT-related APIs.\nAllow game servers to mint eligible in-game items\nas blockchain NFTs via Sverse.\n\nNFT minting operations are asynchronous and managed\nby the Sverse infrastructure.\n"}],"servers":[{"url":"https://be.sverse.io","description":"Production Environment"},{"url":"https://sandbox.api.sverse.io","description":"Sandbox / Testing Environment"}],"security":[{"ApiKeyAuth":[],"BearerAuth":[]}],"paths":{"/api/private/users/{identity}/items/{itemId}/mint":{"post":{"tags":["NFT"],"summary":"Mint NFT for user item","description":"Mint NFT cho item thuộc về user (identity).\nMint là async, trả về trạng thái `minting`.\n","parameters":[{"name":"identity","in":"path","required":true,"description":"User identity (game user / wallet owner)","schema":{"type":"string"}},{"name":"itemId","in":"path","required":true,"description":"Item instance ID của user","schema":{"type":"string"}}],"responses":{"202":{"description":"Mint request accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MintNFTResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"boolean"},"message":{"type":"string"}}}}}},"404":{"description":"User or shop item not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"boolean"},"message":{"type":"string"}}}}}},"409":{"description":"Duplicate request (idempotency hit)","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"boolean"},"data":{"description":"Previously processed purchase result","type":"object"}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"boolean"},"message":{"type":"string"}}}}}}}}}},"components":{"schemas":{"MintNFTResponse":{"type":"object","properties":{"error":{"type":"boolean"},"data":{"type":"object","properties":{"identity":{"type":"string"},"itemId":{"type":"string"},"status":{"type":"string"}}}}}}}}
```


---

# 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://sverse-1.gitbook.io/sverse-docs/api-reference/server/nft.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.
