You are able to fetch all your Smart Tokens balance via this API.

GraphQL API

  • Query String
  • 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.

Response

Parameters

Response

  • tokenBalances <TokenBalanceConnection>
    • totalCount <Int!>
      • Total amount of Smart Tokens you own.
    • pageInfo <PageInfo!>
    • edges <[TokenBalanceEdge]>
      • cursor <String!>
      • Please refer to document of GraphQL
      • node <TokenBalance>
        • token <Token>
          • id <ID!>
            • Smart Token ID. ID is a global identifier.
          • contractAddress <String!>
            • Contract address of the Smart Token.
          • name <String!>
            • Smart Token name.
          • symbol <String!>
            • Smart Token symbol.
          • decimals <String!>
            • Smart Token decimals.
        • value <String!>
          • Amount of the Smart Token you own. The format is Decimaled Number.