Edit NFT
Edit the metadata of an NFT
Replace or provide:
<QUICKNODE_URL>
: Set to your own quicknode RPC URL<collectionId>
: The name of the collection containing the NFT<nftID>
: The ID or idempotent slug for the NFTmetadata
: desired new NFT Metadata, including new image links; we’ll upload images to IPFS for you
curl -i '<QUICKNODE_URL>' -X POST -H 'content-type: application/json' --data-binary '{
"jsonrpc": "2.0",
"method": "cm_editNFT",
"params": [
"<collectionId>",
"<nftId>",
{
"name": "My edited NFT",
"image": "https://pbs.twimg.com/profile_images/1535656143988707330/Wg16GKQ2_400x400.png",
"description": "An NFT commemorating an edit"
}
]
}'
Parameters
Index | Name | Type | Description |
---|---|---|---|
0 | collectionId | string | the id or name of the collection |
1 | nftId | string | the ID or idempotent slug for the NFT |
2 | metadata | Object | Standards-compliant metadata. See metadata |
Returns
This api returns a 204 status upon completion