Preview Token
The Preview Token endpoints for 1x1 and A4 allow you to simulate the final token design and metadata before performing any on-chain actions. Because Xyxyx uses fully on-chain methods, previewing helps prevent irreversible mistakes in your deployment or mint processes.
By previewing tokens in SVG format, you can catch errors, verify designs, and maintain the integrity of your on-chain data — ensuring a smooth and accurate tokenization process.
How it works
Select the endpoint
Submit parameters via JSON
Provide the intended token name, ID, metadata fields, or other relevant settings in a JSON payload.
The endpoint processes these parameters exactly as they would be for an on-chain deployment.
Download the SVG preview
The API responds with an SVG file that visually represents how your text-based token would appear on-chain.
You can download and inspect this SVG to confirm layout, text, and all embedded metadata.
Validate & adjust
If something looks off in the preview, revise the parameters and repeat.
This cycle ensures your final on-chain data will match your intended design.
Proceed to deployment or mint
Once satisfied, use the Deploy Contract or Mint endpoints with confidence, knowing your token model is verified.
Last updated