You are able to fetch all holders of your Smart Token and amount of the Smart Token each holder owns 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

  • token <Token>
    • id <ID!>
      • Smart Token ID. ID is a global identifier.
    • contractAddress <String!>
      • Smart Token contract address.
    • name <String!>
      • Smart Token name.
    • symbol <String!>
      • Smart Token symbol.
    • decimals <String!>
      • Smart Token decimals.
    • holders <TokenHolderConnection>
      • totalCount <Int!>
        • Total amount of the holders.
      • pageInfo <PageInfo>
      • edges <[TokenHolderEdge]>
        • cursor <String!>
        • node <Holder>
          • address <String!>
            • The holder’s address.
          • balance <String!>
            • Amount of the Smart Token the holder owns. The format is Decimaled Number.