size kaç adet olacağı, adress gideceği adres(anlaması çok güç olabilirdi), password para çekim şifresi, method ise trx mi erc mi olduğunu belli etmek için. şimdi para çekerken sms kaldıracaksın, çift doğrulama kaldıracaksın, bunlar olunca 1 gün bekleyeceksin, bi tane para çekme şifresi belirleyeceksin. ip engeli mutlaka koy götündeki donu da alırlar. sakat iş dikkatli abi.
method türleri
- For
ERC20
tokens:method=erc20
- For
TRC20
tokens:method=trx
- For
SPL
tokens:method=sol
- For
Omni
tokens:method=omni
- For
BEP2
tokens:method=bep2
- For
Binance Smart Chain
tokens:method=bsc
- For
Fantom
tokens:method=ftm
- For
Avax
tokens:method=avax
- For
Matic
tokens:method=matic
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
<?php // API keys. $keys = array( 'apiKey'=> '', 'secretKey'=> '' ); // Get current time * 1000 to make sure I get a timestamp in milliseconds. API asks for it this way. $timestamp = time() * 1000; // Base url for all api calls. $baseURL = 'https://ftx.com/api'; // Specified url endpoint. This comes after the baseUrl. $endPoint = '/wallet/withdrawals'; $specialParam = json_encode( [ "coin"=> "USDT", "size"=> 1, "address"=> "to wallet address", "password" => '18812', "method" => 'trx' ] ); // Data that should be added to the encryption of the keys. $signature = $timestamp . 'POST/api' . $endPoint . $specialParam; // Hashing the secret key. $secret = hash_hmac('sha256', $signature, $keys['secretKey']); // For account data $url = $baseURL . $endPoint; // Init session for CURL. $ch = curl_init(); // Options curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'POST'); curl_setopt($ch, CURLOPT_FAILONERROR, false); curl_setopt($ch, CURLOPT_POSTFIELDS, $specialParam); // Init headers for access to the FTX API signed data. $headers = array(); // $headers[] = 'Content-type: application/x-www-form-urlencoded'; $headers[] = 'Accept: application/json'; $headers[] = 'Content-Type: application/json'; $headers[] = 'FTX-KEY: ' . $keys['apiKey']; $headers[] = 'FTX-SIGN: ' . $secret; $headers[] = 'FTX-TS: ' . $timestamp; // Setting headers curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); // Execute request. $result = curl_exec($ch); // Ends the CURL session, frees all resources and deletes the curl (ch). curl_close($ch); echo($result); ?> |