You are able to issue Smart Token via this API.

GraphQL API

  • Query String
  • Query Variables
  • HTTP Headers

HTTP Request and Response

Request

  • URL
    • For development: https://test.fstk.io/api
    • For production: https://engine.fstk.io/api
  • Method: POST
  • Headers
    • accept: application/json
    • content-type: application/json
    • authorization: Bearer [JWT Web-to-Server access token]
      • (for example)
  • Body

    The value of query in the body is a String.

    Please refer to GraphQL multipart request specification for files upload.

Response

Parameters

Request

  • name <string!>
    • Smart Token name.
  • symbol <string!>
    • Smart Token symbol.
  • totalSupply <string!>
    • Total supply of the Smart Token. The format is Decimaled Number.
  • price <Fraction!>
    • Smart Token price.
    • numerator <string!>
      • The numerator of this fraction.
    • denominator <string!>
      • The denominator of this fraction.
  • description <string!>
    • Description of the Smart Token.
  • website <string!>
    • The Smart Token related website.
  • logo <Upload!>
    • The image file of the Smart Token logo.
  • proofOfContract <Upload!>
    • The PDF file of the Smart Token contract.
  • por <enum PORMode>
    • ENABLE or DISABLE <enum>
    • Default is DISABLE.

Response

  • issueToken <IssueTokenPayload>
    • transaction <JSON>
      • UNSIGNED raw transaction format in Ethereum.
    • submitToken <string!>
    • hash <string>
      • PORMode ENABLE: Hash of the abi encode.
      • PORMode DISABLE: Hash of the RLP encode.