public static function isEnough(ConnectorInterface $connector, $accountName, $type, $trxJsonString = '')
    {
        $bandwidth = Bandwidth::getBandwidthByAccountName($accountName, $type, $connector);

        $bandwidth['needed'] = mb_strlen($trxJsonString, '8bit') + $bandwidth['used'];

        return $bandwidth['needed'] < $bandwidth['available'];
    }