async def listunspent(self, wallet: Abstract_Wallet = None):
        """List unspent outputs. Returns the list of unspent transaction
        outputs in your wallet."""
        coins = []
        for txin in wallet.get_utxos():
            d = txin.to_json()
            v = d.pop("value_sats")
            d["value"] = str(to_decimal(v)/COIN) if v is not None else None
            coins.append(d)
        return coins
List unspent outputs. Returns the list of unspent transaction
        outputs in your wallet.
electrum/commands.py