php-binance-api.php
public function orders(string $symbol, int $limit = 500, int $fromOrderId = 1)
    {
        return $this->httpRequest("v3/allOrders", "GET", [
            "symbol" => $symbol,
            "limit" => $limit,
            "orderId" => $fromOrderId,
        ], true);
    }
public function orders(string $symbol, int $limit = 500, int $fromOrderId = 1)
    {
        return $this->httpRequest("v3/allOrders", "GET", [
            "symbol" => $symbol,
            "limit" => $limit,
            "orderId" => $fromOrderId,
        ], true);
    }
public function orders ( string $ symbol , int $ limit = 500 , int $ fromOrderId = 1 ) { return $ this -> httpRequest ( "v3/allOrders" , "GET" , [ "symbol" => $ symbol , "limit" => $ limit , "orderId" => $ fromOrderId , ] , true ) ; }
orders attempts to get the orders for all or a specific currency

$allBNBOrders = $api->orders( "BNBBTC" );

@param $symbol string the currency symbol
@param $limit int the amount of orders returned
@param $fromOrderId string return the orders from this order onwards
@return array with error message or array of orderDetails array
@throws \Exception
orders attempts to get the orders for all or a specific currency