Developer Questions

Ask a Question
Back to All

Seeking guidance on creating xumm payload with nft-metadata

Hey, community members,

I need help on creating xumm payload with nft-metadata. Here is the payload I'm currently using for minting:

payload_data = {

 form = NFTForm(request.POST, request.FILES, initial={ 'xrpl_data': xrpl_data_json})
            print(form)
            if form.is_valid():
                title = form.cleaned_data['title']
                description = form.cleaned_data['description']
                image = form.cleaned_data['image']


payload_data = {

"txjson": {
    "TransactionType": "NFTokenMint",
    "Account": publicAddress,
    "URI": ipfs_cid,
    "Flags": 8,
    "TransferFee": 10,
    "NFTokenTaxon": 0

    },

"options": {
    "return_url": {
        "web": "http://127.0.0.1:8000/XummMintCallbackView"
    }
},
"metadata": {
            "name": title,
            "description": description
            }
 }

So, please let me know if there is any alternate way to handle the metadata or if is there any standard format for payload_data to include the metadata for the MintNFToken transaction.