You are able to transfer FIL 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.

Response

Parameters

Request

  • id <ID!>
    • ID of the FIL Token which is to be transferred. ID is a global identifier.
  • to <String!>
    • Address of the receiver.
  • value <String!>
    • Amount of FIL token to be transferred. The format is Decimaled Number.
  • por <PORMode>
    • ENABLE or DISABLE <enum>
    • Default is DISABLE.

Response

  • erc20Transfer <ERC20TransferPayload>
    • transaction <JSON>
      • UNSIGNED raw transaction format in Ethereum.
    • hash <String>
      • PORMode ENABLE: Hash of the abi encode.
      • PORMode DISABLE: Hash of the RLP encode.
    • submitToken <String>