Skip to content
This repository was archived by the owner on Oct 12, 2023. It is now read-only.
This repository was archived by the owner on Oct 12, 2023. It is now read-only.

On-chain check for metadata change #22

@ptrwtts

Description

@ptrwtts

Many NFT collections are first released without any metadata, and then it is "revealed" at some point in the future. This is a critical moment, because it's when users discover if they have a rare item or not. Being able to get the metadata immediately after a reveal is highly coveted amongst NFT tools. Below is a potential way to do it:

  • Take the first token in the collection, and keep track of it's tokenURI
  • Have a public API to check on-chain if the tokenURI has changed
  • This API can have a high global rate limit (e.g. once per second), because it's only one call
  • Once a change is detected, save the new URI, and trigger an on-chain metadata index for the full collection

This could potentially be built into the existing collection refresh API. Where it allows this check once per second, but only allows a full refresh every hour.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions