public function getNativeBalance()
    {
        MathSafety::require64Bit();

        foreach ($this->getBalances() as $balance) {
            if ($balance->isNativeAsset()) return $balance->getBalance();
        }

        return 0;
    }
public function getNativeBalance()
    {
        MathSafety::require64Bit();

        foreach ($this->getBalances() as $balance) {
            if ($balance->isNativeAsset()) return $balance->getBalance();
        }

        return 0;
    }
public function getNativeBalance ( ) { MathSafety :: require64Bit ( ) ; foreach ( $ this -> getBalances ( ) as $ balance ) { if ( $ balance -> isNativeAsset ( ) ) return $ balance -> getBalance ( ) ; } return 0 ; }
Returns a string representing the native balance

@return string
@throws \ErrorException
Returns a string representing the native balance