Edit metadata
Builds a metadata update for an existing asset, signed by authority, which must hold its update authority.
Replaces uri and the on-chain name, sellerFeeBasisPoints and creators. Fields under extendedMetadata are stored by mallow, not on-chain. For collection and maxSupply, omit the field to leave it unchanged or send null to clear it.
For a cnft, authority must be the collection's update authority, or the tree creator when it has no verified collection; owning the asset is not enough. cnft-v2 is not supported.
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", "setupTx": "string" }}Mint POST
Builds a Metaplex Core mint, signed and paid for by authority. asset is the new asset's address: generate a fresh keypair for it and sign with it too.
Edit collection artworks POST
Builds the transactions that add assets to, or remove them from, the Core collection parentCollection, signed by authority. All four lists are applied together.