Skip to main content
BETA
HomeIntegration BuilderAPI ReferenceGuidesChangelog
View Mirror World on Github
Join the Discord server

Language:

updateNFTMetadata

Updates The Metadata Account Of An NFT On Solana


import { type UpdateSolanaNFTMetadataPayloadV2 } from "@mirrorworld/web3.js"
const payload: UpdateSolanaNFTMetadataPayloadV2 = {
mint_address: "2Tj3kbLPtYgcrLDk6cx3vAs2pGS4rkF6vZ7Vmek8XNpB",
name: "Bad Monkey #0001",
symbol: "BADMONKEY",
url: "https://url-to-bad-monkey-storage.site/0001.json",
seller_fee_basis_points: 200,
update_authority: "8KC5PVfGcSxSuQu5sttRwbQMFNUPi7Nw8W7tpyy4UMLE",
}
await mirrorworld.Solana.Asset.updateNFTMetadata(payload)

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

    Home

    Integration

    Guides

    API Reference

    Changelog