Skip to content
6 changes: 4 additions & 2 deletions php-binance-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -1077,6 +1077,7 @@ public function transfer(string $type, string $asset, string $amount, $fromSymbo
'type' => $type,
'asset' => $asset,
'amount' => $amount,
'sapi' => true,
];
// todo: check this method with real account
if ($fromSymbol) {
Expand Down Expand Up @@ -1115,6 +1116,7 @@ public function transfersHistory(string $type, $startTime = null, $endTime = nul
{
$params = [
'type' => $type,
'sapi' => true,
];
// todo: check this method with real account
if ($startTime) {
Expand Down Expand Up @@ -4219,7 +4221,7 @@ public function futuresConstituents(string $symbol)
'symbol' => $symbol,
'fapi' => true,
];
return $this->httpRequest("v1/indexInfo", 'GET', $parameters);
return $this->httpRequest("v1/constituents", 'GET', $parameters);
}

/**
Expand Down Expand Up @@ -6149,4 +6151,4 @@ public function convertStatus($orderId = null, $quoteId = null)
}
return $this->httpRequest("v1/convert/orderStatus", 'GET', $params, true);
}
}
}
Loading