Deep dive

How artwork URLs are built

A stored artwork reference becomes a browser-ready URL through a few predictable steps.

How a stored reference becomes a fetchable URL

The values above identify content, but they are not always URLs a browser can fetch directly. resolveUri turns each reference into a fetchable URL using your configured IPFS gateway or onchfs worker or proxy.

Stored referenceResult
ipfs://CID/path?q#f<first gateway>/ipfs/CID/path?q#f(query & fragment preserved; useGatewayImage advances on error)
onchfs://CIDsame-origin worker path /.whitehash/onchfs/<chain>/CID, or your configured proxy
https: / data:passed through unchanged
bare CIDtreated as ipfs

Try it

Paste an ipfs://, onchfs://, or bare-CID value. This shows the browser URL the configured resolver would use to load it.

For a token, artworkUrl(token) applies a missing v1 seed and resolves the storage scheme in one step.

https://ipfs.io/ipfs/QmSYxhg1TWP9pMeSYAPDj23cf4MAo3nA4iF3kErq611KRG/?fxhash=oo…#0x…