An asset's picture
What a scan's `metadata.imageUrl` names: an asset's picture, looked up by the asset's id. When Helius's CDN copy of it loads (the API checks), this answers 302 to that copy, kept for an hour. Otherwise the API fetches the picture its metadata names (never your browser), asking public IPFS gateways that answer for one kept on IPFS, and redraws it as a new WebP of at most 192 px a side with no metadata, kept for a day. SVG and anything that isn't a PNG, JPEG, WebP or GIF of at most 8 MB is refused. 404 when there is no picture to show, kept for ten minutes.
/v1/asset-images/{id}What a scan's metadata.imageUrl names: an asset's picture, looked up by the asset's id. When Helius's CDN copy of it loads (the API checks), this answers 302 to that copy, kept for an hour. Otherwise the API fetches the picture its metadata names (never your browser), asking public IPFS gateways that answer for one kept on IPFS, and redraws it as a new WebP of at most 192 px a side with no metadata, kept for a day. SVG and anything that isn't a PNG, JPEG, WebP or GIF of at most 8 MB is refused. 404 when there is no picture to show, kept for ten minutes.
Path Parameters
The asset's id: a token's mint, an NFT's mint or a compressed NFT's asset id
^[1-9A-HJ-NP-Za-km-z]{32,44}$Response Body
image/webp
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/v1/asset-images/string""string"An Altcha challenge for a public form GET
For the Altcha widget’s `challengeurl`. Solve it within ten minutes and send the widget’s payload with the form.
A burner's logo, by its content's SHA-256 GET
A WebP the image pipeline re-encoded, with no EXIF or other metadata, served immutable: the resolve route names the current one. A logo stored before the pipeline answers 308 with the URL of its re-encoded copy.