Features
Updating Assets
The update authority or delegate of an Asset has the ability to change some of the core Asset data.
Updating an Asset
Here is how you can use our SDKs to update an MPL Core Asset.
Update an Asset
import { publicKey } from '@metaplex-foundation/umi'
import { updateV1 } from '@metaplex-foundation/mpl-core'
const asset = publicKey('11111111111111111111111111111111')
await updateV1(umi, {
asset: asset,
newName: 'New Nft Name',
newUri: 'https://example.com/new-uri',
}).sendAndConfirm(umi)
Making Asset Data Immutable
Here is how you can use our SDKs to update an MPL Core Asset.
Update an Asset
import { publicKey } from '@metaplex-foundation/umi'
import { updateV1 } from '@metaplex-foundation/mpl-core'
const asset = publicKey('11111111111111111111111111111111')
await updateV1(umi, {
asset: asset,
}).sendAndConfirm(umi)