Developer
  • API Overview
  • Getting Started
    • Authentication
    • Xyxyx API Keys
    • Getting an API Key
    • Rates & Limits
    • Endpoint URLs
    • Networks
    • Tokenization Models
  • Explorer
  • API Endpoints
    • ERC-721F
      • Deploy Contract
      • Mint 1x1
      • Mint A4
    • ERC-721
      • Deploy Contract 1x1
      • Deploy Contract A4
      • Mint Token
    • ERC-404
      • Deploy Contract 1x1
      • Deploy Contract A4
    • Preview Token
      • 1x1
      • A4
  • Utilities
    • Authorization for wallet transactions
    • Function insights
    • Code samples
    • Xyxyx Web Components
      • Tokenizer
Powered by GitBook
On this page
  1. API Endpoints

Preview Token

PreviousDeploy Contract A4Next1x1

Last updated 2 months ago

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

  1. Select the endpoint

  2. 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.

  3. 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.

  4. 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.

  5. Proceed to deployment or mint

    • Once satisfied, use the Deploy Contract or Mint endpoints with confidence, knowing your token model is verified.

Preview 1x1
Preview A4