php-binance-api.php
public function depositHistory(string $asset = null, array $params = [])
    {
        $params["wapi"] = true;
        if (is_null($asset) === false) {
            $params['asset'] = $asset;
        }
        return $this->httpRequest("v3/depositHistory.html", "GET", $params, true);
    }
public function depositHistory(string $asset = null, array $params = [])
    {
        $params["wapi"] = true;
        if (is_null($asset) === false) {
            $params['asset'] = $asset;
        }
        return $this->httpRequest("v3/depositHistory.html", "GET", $params, true);
    }
public function depositHistory ( string $ asset = null , array $ params = [ ] ) { $ params [ "wapi" ] = true ; if ( is_null ( $ asset ) === false ) { $ params [ 'asset' ] = $ asset ; } return $ this -> httpRequest ( "v3/depositHistory.html" , "GET" , $ params , true ) ; }
depositAddress get the deposit history for an asset

$depositHistory = $api->depositHistory();

$depositHistory = $api->depositHistory( "BTC" );

@param $asset string empty or the currency such as BTC
@param $params array optional startTime, endTime, status parameters
@return array with error message or array deposit history information
@throws \Exception
depositAddress get the deposit history for an asset