> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstream.io/llms.txt
> Use this file to discover all available pages before exploring further.

# DEX - 토큰 생성

> 지정된 DEX에 새 토큰 생성



## OpenAPI

````yaml /ko/api-reference/openapi-defi-ko.yaml POST /v2/dex/{chain}/create
openapi: 3.1.0
info:
  title: Defi Service API
  description: Defi Service API ⚡️
  version: '1.0'
  contact:
    name: AI
    url: https://github.com/chainstream-io/defi-service
    email: ai@sx.ai
servers:
  - url: https://api.chainstream.io
    description: Production
security: []
tags:
  - name: Endpoints
    description: ''
paths:
  /v2/dex/{chain}/create:
    post:
      tags:
        - Dex
      summary: DEX - 토큰 생성
      description: 지정된 DEX에 새 토큰 생성
      operationId: create.token
      parameters:
        - name: chain
          required: true
          in: path
          description: 지원되는 네트워크에 나열된 체인 이름
          schema:
            $ref: '#/components/schemas/ChainSymbol'
      requestBody:
        required: true
        description: Token creation parameters
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateTokenInput'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateTokenReply'
      security:
        - bearer: []
components:
  schemas:
    ChainSymbol:
      type: string
      enum:
        - sol
        - bsc
        - eth
    CreateTokenInput:
      type: object
      properties:
        dex:
          type: string
          description: 거래의 DEX 식별자
          example: raydium
          enum:
            - raydium
            - pumpfun
            - moonshot
            - candy
            - launchpad
        userAddress:
          type: string
          description: 트랜잭션을 시작하는 지갑의 공개 키
          example: oQPnhXAbLbMuKHESaGrbXT17CyvWCpLyERSJA9HCYd7
          minLength: 8
          maxLength: 64
        priorityFee:
          type: string
          description: 트랜잭션 처리 속도를 높이기 위한 우선 수수료 (SOL 단위)
          example: '1000'
        name:
          type: string
          description: 생성할 토큰 이름
          example: Candy Token
          minLength: 1
          maxLength: 32
        symbol:
          type: string
          description: 토큰 심볼/티커
          example: CANDY
          minLength: 1
          maxLength: 10
        uri:
          type: string
          description: 토큰 메타데이터 URI (일반적으로 이미지 또는 JSON을 가리킴)
          example: https://assets.candyproject.com/token/icon.png
        image:
          type: string
          description: 토큰 이미지 URL (Base64 또는 HTTPS)
          example: https://assets.candyproject.com/token/icon.png
        extra:
          type: object
          description: 생성된 토큰에 대한 추가 메타데이터
          example:
            decimals: 6
            migrateType: amm
            slippage: 100
            buyAmount: 0
            supply: 1000000000000000
            totalSellA: 793100000000000
            totalFundRaisingB: 85000000000
            totalLockedAmount: 0
            cliffPeriod: 0
            unlockPeriod: 0
            shareFeeReceiver: oQPnhXAbLbMuKHESaGrbXT17CyvWCpLyERSJA9HCYd7
            shareFeeRate: 1000
      required:
        - dex
        - userAddress
        - name
        - symbol
    CreateTokenReply:
      type: object
      properties:
        serializedTx:
          type: string
          description: 토큰 생성을 위한 Base64 인코딩된 트랜잭션
          example: >-
            AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDRgYGpQEDAQIABQcICQoLDA0ODwAAAAAAAAAAAAAQERITFBUWFxgZGhscHR4fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
        mintAddress:
          type: string
          description: 트랜잭션 서명이 필요한 토큰 Mint 주소
          example: So11111111111111111111111111111111111111112
      required:
        - serializedTx
        - mintAddress
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````