Metadata
One of the main benefits of the Fractal API is allowing you to update your on-chain and off-chain metadata through a simple API. You can also notify Fractal programatically if you make a change to your off-chain metadata so that our marketplace is up to date. See our API reference (opens in a new tab) to learn more about the operations you can perform.
Sync Metadata
Sync Metadata is a way to notify Fractal systems to resync your NFT's metadata from chain. Our systems will go out a retrieve the latest update and update our indexer to ensure parity.
curl --request POST \
--url 'https://api.fractal.is/sdk/v1/admin/item/<your_token_address>/sync_metadata' \
--header 'Authorization: Bearer <project_auth_token>' \
--header 'accept: application/json'
Update Metadata
Update Metadata allows you to update an item's off-chain metadata. This is a great way to update the information we store on your NFT's, so our marketplace always displays the latest update.
curl --request PATCH \
--url 'https://api.fractal.is/sdk/v1/admin/item/your_token_address/update_metadata' \
--header 'Authorization: Bearer <project_auth_token>' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"description": "your_update",
"image": "your_image_bytes"
}'
This is an area we are especially looking for feedback, so please get in touch to talk about your use case.