Wallet balance'."\n"; try { $balance = $electrum->getbalance(); echo 'confirmed: '.$balance['confirmed'].''."\n"; echo 'unconfirmed: '.$balance['unconfirmed'].''."\n"; } catch (Exception $e) { echo nl2br($e->getMessage()).''."\n"; } ?>