You are able to fetch all transfer history of the Smart Voucher(which you published) 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

  • vouchers <VoucherConnection>
    • pageInfo <PageInfo!>
    • totalCount <Int!>
      • Total amount of the Smart Voucher.
    • edges <VoucherEdge>
      • cursor <String!>
      • node <Voucher>
        • id <String!>
          • Smart Voucher ID. ID is a global identifier.
        • contractAddress <String!>
          • Smart Voucher contract address.
        • name <String!>
          • Smart Voucher name.
        • symbol <String!>
          • Smart Voucher symbol.
        • decimals <String!>
          • Smart Voucher decimals.
        • transfers <VoucherTransferConnection>
          • pageInfo <PageInfo!>
          • totalCount <Int!>
            • Total amount of the Smart Voucher transfer.
          • edge <VouhcerTransferEdge>
            • cursor <String>
            • node <Transfer>
              • from <String!>
                • Sender address.
              • to <String>
                • Receiver address.
              • value <String!>
                • Amount of the Smart Voucher the sender sent. The format is Decimaled Number.
              • transaction <String!>
                • The transaction hash of this action.
              • timestamp <String!>
                • The time that FST Network server reviced transaction. The format is Unix Timestamp in millisecond resolution.