FTX | Private REST API

The FTX REST API offer public and private endpoints. The Private endpoints requires that messages signed to increase the security of transactions.

First you must login to your FTX account and create a new API, you will get the following values:

 

 

These fields must be configured in the FTX property of the FTX API client component.

Once configured, you can start to do private requests to the FTX REST API

 


oFTX := TsgcWSAPI_FTX.Create(nil);
oFTX.FTX.ApiKey := '<your api key>';
oFTX.FTX.ApiSecret := '<your api secret>';
ShowMessage(oFTX.REST_API.GetAccount);