Edit metadata
Builds a metadata update for an existing asset, signed by authority, which must hold update authority over it.
Replaces uri and the on-chain fields carried in nftMetadata (name, sellerFeeBasisPoints, creators). Off-chain fields under extendedMetadata (description, attributes, tags, media, NSFW flag) are stored by mallow rather than on-chain.
collection and maxSupply distinguish absent from explicit null: omit the field to leave it unchanged, or send null to clear it. Use editTarget to retarget the edit at the asset itself (asset, the default) or at its parent_collection, and newParentCollection / newGroupSigner to move the asset between Core groups.
Authorization
ApiKeyAuth In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Updates an existing asset's metadata. collection and maxSupply treat an omitted field as 'leave unchanged' and an explicit null as 'clear'.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v2/tx/nft/edit" \ -H "Content-Type: application/json" \ -d '{ "authority": "string", "asset": "string", "uri": "string", "nftMetadata": { "name": "string", "sellerFeeBasisPoints": 0 }, "tokenStandard": "nft" }'{ "result": { "tx": "string" }}